summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-09-26 15:55:20 -0400
committerJosef Bacik <josef@redhat.com>2011-10-19 15:12:49 -0400
commit8f6d7f4f45f18a5b669dbbf068c74b3d5be59dbf (patch)
tree6a43f6ec137c0c491a308ba258552a0b47cbc8c0 /fs/btrfs/ctree.h
parent726c35fa0edf1d9b8a88b73255532e73089aedda (diff)
Btrfs: break out of orphan cleanup if we can't make progress
I noticed while running xfstests 83 that if we didn't have enough space to delete our inode the orphan cleanup would just loop. This is because it keeps finding the same orphan item and keeps trying to kill it but can't because we don't get an error back from iput for deleting the inode. So keep track of the last guy we tried to kill, if it's the same as the one we're trying to kill currently we know we are having problems and can just error out. I don't have a way to test this so look hard and make sure it's right. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions