Commit c900f415 authored by Yangtao Li's avatar Yangtao Li Committed by David Sterba
Browse files

btrfs: reuse exit helper for cleanup in btrfs_bioset_init()



Do not duplicate the cleanup after failed initialization
in btrfs_bioset_init() and reuse the exit function btrfs_bioset_exit().

Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent af4fc281
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment