]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: put our inode if orphan cleanup fails
authorJosef Bacik <jbacik@fusionio.com>
Tue, 4 Jun 2013 01:39:49 +0000 (21:39 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:30:16 +0000 (11:30 -0400)
commit01cd33674e95296e1647da3534b9aef1e98556b5
tree2d7f1e1f088c546266a5a7f01782c9374982ac93
parentc69b26b0116dc2c064457991bec91b6d94e96d65
Btrfs: put our inode if orphan cleanup fails

When we cross into a different subvol when doing a lookup we will run the orhpan
cleanup.  If this fails however we do not drop the ref to the inode we were
looking up before we return an error, which leads to busy inodes on umount.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c