Btrfs: fix the error handling wrt orphan items
authorJosef Bacik <jbacik@fusionio.com>
Tue, 13 Aug 2013 18:10:08 +0000 (14:10 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:05:03 +0000 (08:05 -0400)
There are several places where we BUG_ON() if we fail to remove the orphan items
and such, which is not ok, so remove those and either abort or just carry on.
This also fixes a problem where if we couldn't start a transaction we wouldn't
actually remove the orphan item reserve for the inode.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>

No differences found