mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
btrfs: change BUG_ON to assertion in tree_move_down()
[ Upstream commit 56f335e043 ]
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: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
48256173f2
commit
c7e0e8acc5
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue