Skip to content
Commit 6dd38f81 authored by Anand Jain's avatar Anand Jain Committed by David Sterba
Browse files

btrfs: remove BUG_ON in btrfs_rm_dev_replace_free_srcdev()



That was only an extra check to tackle a few bugs around this area, now
its safe to remove it.  Replace it by an ASSERT.

Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent fa4d885a
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