diff options
author | Theodore Ts'o <tytso@mit.edu> | 2020-04-14 06:33:05 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-04-16 06:58:49 +0300 |
commit | 907ea529fc4c3296701d2bfc8b831dd2a8121a34 (patch) | |
tree | 591058790eb87be9237fe585a6ca9fbce72912e3 /include | |
parent | a17a9d935dc4a50acefaf319d58030f1da7f115a (diff) | |
download | linux-907ea529fc4c3296701d2bfc8b831dd2a8121a34.tar.xz |
ext4: convert BUG_ON's to WARN_ON's in mballoc.c
If the in-core buddy bitmap gets corrupted (or out of sync with the
block bitmap), issue a WARN_ON and try to recover. In most cases this
involves skipping trying to allocate out of a particular block group.
We can end up declaring the file system corrupted, which is fair,
since the file system probably should be checked before we proceed any
further.
Link: https://lore.kernel.org/r/20200414035649.293164-1-tytso@mit.edu
Google-Bug-Id: 34811296
Google-Bug-Id: 34639169
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions