From: Amir Goldstein Date: Mon, 16 May 2011 13:59:13 +0000 (-0400) Subject: ext4: fix oops in ext4_quota_off() X-Git-Tag: v3.0-rc1~140^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b26859027ce0005ef89520af20351360e51ad76;p=pandora-kernel.git ext4: fix oops in ext4_quota_off() If quota is not enabled when ext4_quota_off() is called, we must not dereference quota file inode since it is NULL. Check properly for this. This fixes a bug in commit 21f976975cbe (ext4: remove unnecessary [cm]time update of quota file), which was merged for 2.6.39-rc3. Reported-by: Amir Goldstein Signed-off-by: Amir Goldstein Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed