diff options
author | Theodore Ts'o <tytso@mit.edu> | 2020-04-14 06:33:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-02 18:25:59 +0300 |
commit | b022298cd012cd9b59057d6d5490e6468be70f0d (patch) | |
tree | 69c2e50d3e03c09c70b2452d7838a29c31077112 /drivers/hwmon | |
parent | fffce4a4c4befb2a53fe9bbd5da9addd1efe41a8 (diff) | |
download | linux-b022298cd012cd9b59057d6d5490e6468be70f0d.tar.xz |
ext4: convert BUG_ON's to WARN_ON's in mballoc.c
[ Upstream commit 907ea529fc4c3296701d2bfc8b831dd2a8121a34 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions