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)
commit12c77527e4138bc3b17d17b0e0c909e4fc84924f
tree2776bbc914ebf8db7bdc2e450abf6a1504f50abe
parent3d9ea253a0e73dccaa869888ec2ceb17ea76c810
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