Commit f116700
ext4: fix race in ext4_mb_add_n_trim()
In ext4_mb_add_n_trim(), lg_prealloc_lock should be taken when
changing the lg_prealloc_list.
Signed-off-by: Niu Yawei <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: [email protected]1 parent 87e6987 commit f116700
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4136 | 4136 | | |
4137 | 4137 | | |
4138 | 4138 | | |
4139 | | - | |
| 4139 | + | |
4140 | 4140 | | |
4141 | 4141 | | |
4142 | 4142 | | |
| |||
4160 | 4160 | | |
4161 | 4161 | | |
4162 | 4162 | | |
4163 | | - | |
| 4163 | + | |
4164 | 4164 | | |
4165 | 4165 | | |
4166 | 4166 | | |
4167 | 4167 | | |
4168 | | - | |
| 4168 | + | |
4169 | 4169 | | |
4170 | 4170 | | |
4171 | 4171 | | |
| |||
0 commit comments