summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-03-12 23:25:31 +0300
committerDavid Sterba <dsterba@suse.com>2021-04-19 18:25:22 +0300
commite0b085b0b03fa5c435b7240668f144199ed989c4 (patch)
treecffee4da005e3944c06e58b5e855c7365a709296 /lib/mpi/mpi-sub-ui.c
parent57a304cfd43b2b4a5b44b8f5dc026abb34183068 (diff)
downloadlinux-e0b085b0b03fa5c435b7240668f144199ed989c4.tar.xz
btrfs: cleanup error handling in prepare_to_merge
This probably can't happen even with a corrupt file system, because we would have failed much earlier on than here. However there's no reason we can't just check and bail out as appropriate, so do that and convert the correctness BUG_ON() to an ASSERT(). Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> [ add comment ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions