From: Josef Bacik Date: Mon, 31 Jan 2011 21:22:42 +0000 (-0500) Subject: Btrfs: handle errors in btrfs_orphan_cleanup X-Git-Tag: v2.6.39-rc1~19^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b4ffd110f9b48b8d8c1319ee446b53b8d073bf;p=pandora-kernel.git Btrfs: handle errors in btrfs_orphan_cleanup If we cannot truncate an inode for some reason we will never delete the orphan item associated with that inode, which means that we will loop forever in btrfs_orphan_cleanup. Instead of doing this just return error so we fail to mount. It sucks, but hey it's better than hanging. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed