]> git.baikalelectronics.ru Git - kernel.git/commit
quota: Implement function for scanning active dquots
authorJan Kara <jack@suse.cz>
Mon, 20 Oct 2008 15:05:00 +0000 (17:05 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:23 +0000 (08:40 -0800)
commite84736216107209ef26164d8bab8ca8a0aa43ac2
tree2776bbc914ebf8db7bdc2e450abf6a1504f50abe
parentfe4532b3c42364f681022d3f749bd21ebdf7265d
quota: Implement function for scanning active dquots

OCFS2 needs to scan all active dquots once in a while and sync quota
information among cluster nodes. Provide a helper function for it so
that it does not have to reimplement internally a list which VFS
already has. Moreover this function is probably going to be useful
for other clustered filesystems if they decide to use VFS quotas.

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