summaryrefslogtreecommitdiff
path: root/quotasys.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-05-05 16:14:07 +0200
committerJan Kara <jack@suse.cz>2011-05-05 16:14:07 +0200
commitc3a392437a2ec4793f2b1112058de0c3b459b6fe (patch)
tree0af9cc6eb7c7e9155716142d33cd937aefe89648 /quotasys.h
parente482f256411dba6a9d647e6df7f24eef8af3d59b (diff)
Implement repquota for filesystems without quota files
Some filesystem do not have quota files accessible from userspace. For these implementing ->scan_dquots() used by repquota is problematic. What we do is that we iterate over all users and ask for quota information for each of them. XFS already does this so make its code generic and use it for all filesystems using quotaio_meta.c - only OCFS2 these days. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quotasys.h')
-rw-r--r--quotasys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotasys.h b/quotasys.h
index 90e5aae..005b275 100644
--- a/quotasys.h
+++ b/quotasys.h
@@ -20,7 +20,7 @@
/* Flags for IO initialization */
#define IOI_READONLY 0x1 /* Only readonly access */
-#define IOI_OPENFILE 0x2 /* Open file even if kernel has quotas turned on */
+#define IOI_INITSCAN 0x2 /* Prepare handle for scanning dquots */
#define IOI_NFS_MIXED_PATHS 0x4 /* Trim leading / from NFSv4 mountpoints */
#define KERN_KNOWN_QUOTA_VERSION (6*10000 + 5*100 + 1)