From: Aneesh Kumar K.V Date: Tue, 6 Jan 2009 03:19:52 +0000 (-0500) Subject: ext4: fix BUG when calling ext4_error with locked block group X-Git-Tag: v2.6.29-rc1~40^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d1b1b3f492f8696ea18950a454a141381b0f926;p=pandora-kernel.git ext4: fix BUG when calling ext4_error with locked block group The mballoc code likes to call ext4_error while it is holding locked block groups. This can causes a scheduling in atomic context BUG. We can't just unlock the block group and relock it after/if ext4_error returns since that might result in race conditions in the case where the filesystem is set to continue after finding errors. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed