diff options
| author | Baokun Li <[email protected]> | 2024-01-04 14:20:40 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-01-18 15:50:24 +0000 |
| commit | c5f3a3821de42ede9bcaeb892d1539717cf590cb (patch) | |
| tree | dd9bd11ef5bab9a1316a3417d6ffd0f74a91782b /net/switchdev/switchdev.c | |
| parent | ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal() (diff) | |
| download | kernel-c5f3a3821de42ede9bcaeb892d1539717cf590cb.tar.gz kernel-c5f3a3821de42ede9bcaeb892d1539717cf590cb.zip | |
ext4: mark the group block bitmap as corrupted before reporting an error
Otherwise unlocking the group in ext4_grp_locked_error may allow other
processes to modify the core block bitmap that is known to be corrupt.
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
