From: Lukas Czerner Date: Tue, 24 May 2011 22:28:07 +0000 (-0400) Subject: ext4: protect bb_first_free in ext4_trim_all_free() with group lock X-Git-Tag: v3.0-rc1~140^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28739eea9cd42598b632972f5cc64a458c5d40b3;p=pandora-kernel.git ext4: protect bb_first_free in ext4_trim_all_free() with group lock We should protect reading bd_info->bb_first_free with the group lock because otherwise we might miss some free blocks. This is not a big deal at all, but the change to do right thing is really simple, so lets do that. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed