aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2016-07-12 11:24:21 -0700
committerDavid Sterba <[email protected]>2016-07-26 13:52:25 +0200
commit5a488b9d2c25d98cdd11d09de311bfc83ba09fbd (patch)
tree3058eb9d14b1e7268b54f1d2f754e598d3c3e22a /lib/cpu-notifier-error-inject.c
parent0fd8c3dae14fb64947842472940b807ca0781da9 (diff)
Btrfs: fix unexpected balance crash due to BUG_ON
Mounting a btrfs can resume previous balance operations asynchronously. An user got a crash when one drive has some corrupt sectors. Since balance can cancel itself in case of any error, we can gracefully return errors to upper layers and let balance do the cancel job. Reported-by: sash <[email protected]> Signed-off-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions