Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: Simplify setup_nodes_for_search
The function is needlessly convoluted. Fix that by: * Removing redundant sret variable definition in both if arms. * Replace the again/done labels with direct return statements, the function is short enough and doesn't do anything special upon exit. * Remove BUG_ON on split_node returning a positive number - it can't happen as split_node returns either 0 or a negative error code. Signed-off-by: Nikolay Borisov <nborisov@suse.com>
- Loading branch information