aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorGravatar Josef Bacik <jbacik@fb.com> 2016-09-23 13:23:28 +0200
committerGravatar David Sterba <dsterba@suse.com> 2016-09-26 19:37:06 +0200
commit4867268c57ff709a7b6b86ae6f6537d846d1443a (patch)
treee0237d6308ff83ad8dde872e0f3f4eedbe5b6952 /fs/btrfs/ctree.c
parentbtrfs: fix btrfs_no_printk stub helper (diff)
downloadlinux-4867268c57ff709a7b6b86ae6f6537d846d1443a.tar.gz
linux-4867268c57ff709a7b6b86ae6f6537d846d1443a.tar.bz2
linux-4867268c57ff709a7b6b86ae6f6537d846d1443a.zip
Btrfs: don't BUG() during drop snapshot
Really there's lots of things that can go wrong here, kill all the BUG_ON()'s and replace the logic ones with ASSERT()'s and return EIO instead. Signed-off-by: Josef Bacik <jbacik@fb.com> [ switched to btrfs_err, errors go to common label ] Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
0 files changed, 0 insertions, 0 deletions