Btrfs: fix orphan cleanup regression
authorJosef Bacik <josef@redhat.com>
Wed, 21 Sep 2011 20:55:59 +0000 (16:55 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:46 +0000 (15:12 -0400)
commita8c9e5769718d47e87cce40c9b84cab421804797
tree6bfc08ccb5afa532449741230f5733c4f44499fc
parent3b16a4e3c355ee3c790473decfcf83d4faeb8ce0
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>
fs/btrfs/inode.c