Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 5eb178f3 authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

btrfs: handle errors from btrfs_dec_ref() properly


In walk_up_proc() we BUG_ON(ret) from btrfs_dec_ref().  This is
incorrect, we have proper error handling here, return the error.

Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent f9c5b70c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment