From: Christoph Hellwig Date: Mon, 8 Jun 2009 13:33:21 +0000 (+0200) Subject: xfs: validate quota log items during log recovery X-Git-Tag: v2.6.31-rc1~350^2^2~3^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5e1ce89f1eacc366ec421c0f5f681159479c28;p=pandora-kernel.git xfs: validate quota log items during log recovery Arkadiusz has seen really strange crashes in xfs_qm_dqcheck that I can only explain by a log item being too smal to actually fit the xfs_dqblk_t we're dereferencing all over xfs_qm_dqcheck. So add graceful checks for NULL or too small quota items to the log recovery code. Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen --- Reading git-diff-tree failed