Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit f9c5b70c authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

btrfs: convert correctness BUG_ON()'s to ASSERT()'s in walk_up_proc()


In walk_up_proc() we have several sanity checks that should only trip if
the programmer made a mistake.  Convert these to ASSERT()'s instead of
BUG_ON()'s.

Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent b8ccef04
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment