Skip to content
Commit 14ed830d authored by Junchao Sun's avatar Junchao Sun Committed by David Sterba
Browse files

btrfs: qgroup: use goto style to handle errors in add_delayed_ref()



Clean up resources using goto to get rid of repeated code.

Reviewed-by: default avatarQu Wenruo <wqu@suse.com>
Signed-off-by: default avatarJunchao Sun <sunjunchao2870@gmail.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 81891974
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment