]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/quota.h
quota: Introduce DQUOT_QUOTA_SYS_FILE flag
[linux-2.6-omap-h63xx.git] / include / linux / quota.h
index 93717abcd35b1b2867b49e6cdc2d121743c00b83..80b8807b498810a5fc526f4efecf46db692b7511 100644 (file)
@@ -332,6 +332,13 @@ enum {
 #define DQUOT_SUSPENDED                (1 << _DQUOT_SUSPENDED)
 #define DQUOT_STATE_FLAGS      (DQUOT_USAGE_ENABLED | DQUOT_LIMITS_ENABLED | \
                                 DQUOT_SUSPENDED)
+/* Other quota flags */
+#define DQUOT_QUOTA_SYS_FILE   (1 << 6)        /* Quota file is a special
+                                                * system file and user cannot
+                                                * touch it. Filesystem is
+                                                * responsible for setting
+                                                * S_NOQUOTA, S_NOATIME flags
+                                                */
 
 static inline unsigned int dquot_state_flag(unsigned int flags, int type)
 {