Skip to contentSkip to conversation

quotactl.2: Updated information regarding disk quota flags

PATCH In review Eugene Syromyatnikov 1 participant 1 message Sep 21, 2016 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 quotactl.2: Updated information regarding disk quota flags

* man2/quotactl.2: Added information regarding DQF_SYS_FILE flag, updated definition of V1_DQF_RSQUASH which has been defined privately and defined publicly as DQF_ROOT_SQUASH.

---
 man2/quotactl.2 |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
man2/quotactl.2 +5 -2
index 82406d4..3910379 100644
@@ -285,9 +285,12 @@ struct dqinfo {         /* Defined since kernel 2.4.22 */
 
 /* Quota format QFMT_VFS_OLD */
 
-#define V1_DQF_RSQUASH	1   /* Root squash enabled */
+/* Before v4.0-rc1~141^2~14 it had been defined privately as V1_DQF_RSQUASH */
+#define DQF_ROOT_SQUASH (1 << 0)   /* Root squash enabled */
 
-/* Other quota formats have no dqi_flags bits defined */
+/* Quota format QFMT_VFS_V0 / QFMT_VFS_V1 */
+
+#define DQF_SYS_FILE    (1 << 16)  /* Quota stored in a system file */
 
 /* Flags in dqi_valid that indicate which fields in
    dqinfo structure are valid. */
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html