commit | 3b6571c180da85e43550c608e954ab7b2a31d954 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Fri May 27 13:03:04 2016 -0400 |
committer | David Sterba <dsterba@suse.com> | Fri Jun 17 18:32:40 2016 +0200 |
tree | 8304cce6ef150c2913254a24453bf842af1e78b0 | |
parent | 64c12921e11b3a0c10d088606e328c58e29274d8 [diff] |
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: Josef Bacik <jbacik@fb.com> Reviewed-by: Mark Fasheh <mfasheh@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>