]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: Avoid orphan inodes cleanup during committing transaction
authorYan, Zheng <zheng.yan@oracle.com>
Thu, 12 Nov 2009 09:37:02 +0000 (09:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Aug 2010 20:19:55 +0000 (13:19 -0700)
commit9202f1111ac52cfe02f3813352c1b0481394e1da
treebab7232330ca2ebff779f56ccebf06f17ece4bee
parentc4ba0bd9db5e8fd2664be0fd4ec01335fe3268eb
Btrfs: Avoid orphan inodes cleanup during committing transaction

commit 2e4bfab97055aa6acdd0637913bd705c2d6506d6 upstream.

btrfs_lookup_dentry may trigger orphan cleanup, so it's not good
to call it while committing a transaction.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/btrfs/ioctl.c
fs/btrfs/transaction.c