Commit 26d0f87
ext4: call ext4_mb_mark_context in ext4_free_blocks_simple
call ext4_mb_mark_context in ext4_free_blocks_simple to:
1. remove repeat code
2. pair update of free_clusters in ext4_mb_new_blocks_simple.
3. add missing ext4_lock_group/ext4_unlock_group protection.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: "Ritesh Harjani (IBM)" <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20230928160407.142069-4-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent f9e2d95 commit 26d0f87
1 file changed
Lines changed: 1 addition & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6358 | 6358 | | |
6359 | 6359 | | |
6360 | 6360 | | |
6361 | | - | |
6362 | 6361 | | |
6363 | | - | |
6364 | | - | |
6365 | 6362 | | |
6366 | 6363 | | |
6367 | | - | |
6368 | 6364 | | |
6369 | 6365 | | |
6370 | | - | |
6371 | | - | |
6372 | | - | |
6373 | | - | |
6374 | | - | |
6375 | | - | |
6376 | | - | |
6377 | | - | |
6378 | | - | |
6379 | | - | |
6380 | | - | |
6381 | | - | |
6382 | | - | |
6383 | | - | |
6384 | | - | |
6385 | | - | |
6386 | | - | |
6387 | | - | |
6388 | | - | |
6389 | | - | |
6390 | | - | |
6391 | | - | |
6392 | | - | |
6393 | | - | |
6394 | | - | |
6395 | | - | |
6396 | | - | |
6397 | | - | |
| 6366 | + | |
6398 | 6367 | | |
6399 | 6368 | | |
6400 | 6369 | | |
| |||
0 commit comments