Commit 56f335e0 authored by David Sterba's avatar David Sterba
Browse files

btrfs: change BUG_ON to assertion in tree_move_down()



There's only one caller of tree_move_down() that does not pass level 0
so the assertion is better suited here.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 3c6ee34c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment