diff options
| author | Josef Bacik <jbacik@fb.com> | 2016-09-23 13:23:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-06 11:16:11 +0100 |
| commit | 323ffc03ddb2007fbfda0e3c3b749edfc7053e67 (patch) | |
| tree | e59103dd614f7f2f52aacfd62d55d4acef6954d5 /kernel/capability.c | |
| parent | 107800061996dc872a9fa72fb806ac9dadf2cb6b (diff) | |
Btrfs: don't BUG() during drop snapshot
commit 4867268c57ff709a7b6b86ae6f6537d846d1443a upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions
