From: Miao Xie Date: Wed, 19 Dec 2012 06:59:51 +0000 (+0000) Subject: Btrfs: fix lots of orphan inodes when the space is not enough X-Git-Tag: v3.9-rc1~17^2~29^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8c36a9fd8169a8b96c2ddc8446894bcd07b6b1;p=pandora-kernel.git Btrfs: fix lots of orphan inodes when the space is not enough We're running into having 50-100 orphans left over with xfstests 83 because of ENOSPC when trying to start the transaction for the inode update. But in fact, it makes no sense in updating the inode for the new size while we're deleting the stupid thing. This patch fixes this problem. Reported-by: Josef Bacik Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed