Skip to content
Commit 3b6571c1 authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

Btrfs: don't BUG_ON() in btrfs_orphan_add



This is just a screwup for developers, so change it to an ASSERT() so developers
notice when things go wrong and deal with the error appropriately if ASSERT()
isn't enabled.  Thanks,

Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
Reviewed-by: default avatarMark Fasheh <mfasheh@suse.de>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 64c12921
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