From: Jan Kara Date: Fri, 10 Oct 2008 14:12:23 +0000 (+0200) Subject: quota: Add helpers to allow ocfs2 specific quota initialization, freeing and recovery X-Git-Tag: v2.6.29-rc1~505^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9ea253a0e73dccaa869888ec2ceb17ea76c810;p=pandora-kernel.git quota: Add helpers to allow ocfs2 specific quota initialization, freeing and recovery OCFS2 needs to peek whether quota structure is already in memory so that it can avoid expensive cluster locking in that case. Similarly when freeing dquots, it checks whether it is the last quota structure user or not. Finally, it needs to get reference to dquot structure for specified id and quota type when recovering quota file after crash. Signed-off-by: Jan Kara Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed