quota: Allow each filesystem to specify which quota types it supports
authorJan Kara <jack@suse.cz>
Tue, 30 Sep 2014 08:43:09 +0000 (10:43 +0200)
committerJan Kara <jack@suse.cz>
Mon, 10 Nov 2014 09:06:08 +0000 (10:06 +0100)
commit2c5f648aa24a7c8f0668d8ce5722d69da5bef739
tree569961ba122f15e947a0f0dbe71c6994b8e00b2c
parent6bab3596bbede980c067eaeaf6a470c262888dac
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>
fs/quota/quota.c
fs/super.c
include/linux/fs.h
include/linux/quota.h