quota: Introduce DQUOT_QUOTA_SYS_FILE flag
authorJan Kara <jack@suse.cz>
Tue, 30 Sep 2008 15:53:37 +0000 (17:53 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:57 +0000 (08:36 -0800)
commitca785ec66b991e9ca74dd9840fc014487ad095e1
tree271c7b36123e9c16f455ecd96352d24ecd20423c
parentdcb30695f2cac86b71417629a6fe8042b4fe2ab2
quota: Introduce DQUOT_QUOTA_SYS_FILE flag

If filesystem can handle quota files as system files hidden from users, we can
skip a lot of cache invalidation, syncing, inode flags setting etc. when
turning quotas on, off and quota_sync. Allow filesystem to indicate that it is
hiding quota files from users by DQUOT_QUOTA_SYS_FILE flag.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/dquot.c
fs/quota.c
include/linux/quota.h