From: Dave Chinner Date: Wed, 14 Nov 2012 06:50:13 +0000 (+1100) Subject: xfs: verify dquot blocks as they are read from disk X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~55^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6319198702350a2215a8c0cacd6cc4283728a1b;p=pandora-kernel.git xfs: verify dquot blocks as they are read from disk Add a dquot buffer verify callback function and pass it into the buffer read functions. This checks all the dquots in a buffer, but cannot completely verify the dquot ids are correct. Also, errors cannot be repaired, so an additional function is added to repair bad dquots in the buffer if such an error is detected in a context where repair is allowed. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Reviewed-by: Phil White Signed-off-by: Ben Myers --- Reading git-diff-tree failed