diff options
author | Lukas Czerner <lczerner@redhat.com> | 2011-05-25 00:28:07 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-25 00:28:07 +0200 |
commit | 28739eea9cd42598b632972f5cc64a458c5d40b3 (patch) | |
tree | 10d4db959544884e6612ea329920a2cf73a6f0b6 /mm | |
parent | ext4: only load buddy bitmap in ext4_trim_fs() when it is needed (diff) | |
download | linux-28739eea9cd42598b632972f5cc64a458c5d40b3.tar.xz linux-28739eea9cd42598b632972f5cc64a458c5d40b3.zip |
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 <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions