From: Josef Bacik Date: Tue, 13 Aug 2013 18:10:08 +0000 (-0400) Subject: Btrfs: fix the error handling wrt orphan items X-Git-Tag: v3.12-rc1~40^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef31a45a009a81b2f3c5aaf6f07d7147f80bc8c;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed