diff options
| author | Ritesh Harjani <[email protected]> | 2022-02-16 07:02:51 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-02-26 02:34:56 +0000 |
| commit | 8c91c57907d3ad8f88a12097213bb0920eb453b8 (patch) | |
| tree | 55a4ac7e62b1291fa4c5be898fb1172973be35ba /fs/ext4/fast_commit.c | |
| parent | ext4: add strict range checks while freeing blocks (diff) | |
| download | kernel-8c91c57907d3ad8f88a12097213bb0920eb453b8.tar.gz kernel-8c91c57907d3ad8f88a12097213bb0920eb453b8.zip | |
ext4: add extra check in ext4_mb_mark_bb() to prevent against possible corruption
This patch adds an extra checks in ext4_mb_mark_bb() function
to make sure we mark & report error if we were to mark/clear any
of the critical FS metadata specific bitmaps (&bail out) to prevent
from any accidental corruption.
Suggested-by: Jan Kara <[email protected]>
Signed-off-by: Ritesh Harjani <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/53cbb6f2573db162a57f935365050d8b1df202ee.1644992610.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
