Repository navigation
Commit 28739ee
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>1 parent 7894408 commit 28739ee
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4825 | 4825 | | |
4826 | 4826 | | |
4827 | 4827 | | |
4828 | | - | |
4829 | 4828 | | |
| 4829 | + | |
| 4830 | + | |
4830 | 4831 | | |
4831 | 4832 | | |
4832 | | - | |
4833 | 4833 | | |
4834 | 4834 | | |
4835 | 4835 | | |
| |||
0 commit comments