diff options
author | Josef Bacik <jbacik@fb.com> | 2016-05-27 13:03:04 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-06-17 18:32:40 +0200 |
commit | 3b6571c180da85e43550c608e954ab7b2a31d954 (patch) | |
tree | 8304cce6ef150c2913254a24453bf842af1e78b0 /fs/btrfs/disk-io.c | |
parent | 64c12921e11b3a0c10d088606e328c58e29274d8 (diff) | |
download | lwn-3b6571c180da85e43550c608e954ab7b2a31d954.tar.gz lwn-3b6571c180da85e43550c608e954ab7b2a31d954.zip |
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions