Thread (3 messages) 3 messages, 2 authors, 2021-11-02

Re: [PATCH] quotactl.2: Use correct limits for vfsv1 format

From: "xuyang2018.jy@fujitsu.com" <xuyang2018.jy@fujitsu.com>
Date: 2021-11-01 03:36:49

Hi Michael, Alejandro

Ping!

Best Regards
Yang Xu
quoted hunk ↗ jump to hunk
According to kernel code and the following patch, the maximum quota limit setting
should be 2^63 -1 instead of 2^64.

[1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=7e08da5

Signed-off-by: Yang Xu<xuyang2018.jy@fujitsu.com>
---
  man2/quotactl.2 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man2/quotactl.2 b/man2/quotactl.2
index 46f77a8b1..5d2a673bd 100644
--- a/man2/quotactl.2
+++ b/man2/quotactl.2
@@ -109,7 +109,7 @@ and quota limits up to 2^42 bytes and 2^32 inodes.
  .TP
  .BR QFMT_VFS_V1
  A quota format that can handle 32-bit UIDs and GIDs
-and quota limits of 2^64 bytes and 2^64 inodes.
+and quota limits of 2^63 - 1 bytes and 2^63 - 1 inodes.
  .RE
  .IP
  The
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help