]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: fix orphan cleanup regression
authorJosef Bacik <josef@redhat.com>
Wed, 21 Sep 2011 20:55:59 +0000 (16:55 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 02:20:23 +0000 (21:20 -0500)
commit6fa44ec8a902d2a51adc9b1a3092e5fe8282284a
tree5d34c7076433fa8d80e89fda4a3f9fbf87329c45
parent72beabbc2d5fd735d01e1c0ced38ae03f87ccdaa
Btrfs: fix orphan cleanup regression

In fixing how we deal with bad inodes, we had a regression in the orphan cleanup
code, since it expects to get a bad inode back.  So fix it to deal with getting
-ESTALE back by deleting the orphan item manually and moving on.  Thanks,

Reported-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Josef Bacik <josef@redhat.com>
(cherry picked from commit a8c9e5769718d47e87cce40c9b84cab421804797)
fs/btrfs/inode.c