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>
This commit is contained in:
parent
6bab3596bb
commit
2c5f648aa2
4 changed files with 23 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue