From: Niu Yawei Date: Sat, 2 Feb 2013 02:31:27 +0000 (-0500) Subject: ext4: fix race in ext4_mb_add_n_trim() X-Git-Tag: v3.2.40~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d812e4d8b480c8ddd4096c60ff8a18726ddae8a6;p=pandora-kernel.git ext4: fix race in ext4_mb_add_n_trim() commit f1167009711032b0d747ec89a632a626c901a1ad upstream. In ext4_mb_add_n_trim(), lg_prealloc_lock should be taken when changing the lg_prealloc_list. Signed-off-by: Niu Yawei Signed-off-by: "Theodore Ts'o" Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed