commit | 4ef31a45a009a81b2f3c5aaf6f07d7147f80bc8c | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Tue Aug 13 14:10:08 2013 -0400 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:05:03 2013 -0400 |
tree | c10236f3a3ff81731aa601f6163baa3d44bad96d | |
parent | 175a2b871f46272a2aedce5fb3222a72568b84c3 [diff] |
Btrfs: fix the error handling wrt orphan items 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>