diff options
author | Jan Kara <jack@suse.cz> | 2014-09-30 10:43:09 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2014-11-10 10:06:08 +0100 |
commit | 2c5f648aa24a7c8f0668d8ce5722d69da5bef739 (patch) | |
tree | 569961ba122f15e947a0f0dbe71c6994b8e00b2c /include/linux/fs.h | |
parent | 6bab3596bbede980c067eaeaf6a470c262888dac (diff) | |
download | lwn-2c5f648aa24a7c8f0668d8ce5722d69da5bef739.tar.gz lwn-2c5f648aa24a7c8f0668d8ce5722d69da5bef739.zip |
quota: Allow each filesystem to specify which quota types it supports
Currently all filesystems supporting VFS quota support user and group
quotas. With introduction of project quotas this is going to change so
make sure filesystem isn't called for quota type it doesn't support by
introduction of a bitmask determining which quota types each filesystem
supports.
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9ab779e8a63c..cf55a5483d40 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1224,6 +1224,7 @@ struct super_block { struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances; + unsigned int s_quota_types; /* Bitmask of supported quota types */ struct quota_info s_dquot; /* Diskquota specific options */ struct sb_writers s_writers; |