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)
committerChris Mason <chris.mason@oracle.com>
Thu, 17 Dec 2009 17:33:33 +0000 (12:33 -0500)
commit2e4bfab97055aa6acdd0637913bd705c2d6506d6
tree2c07c3668c8d13ee1e2076d32a728c60eaa8f4ed
parentc71bf099abddf3e0fdc27f251ba76fca1461d49a
Btrfs: Avoid orphan inodes cleanup during committing transaction

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>
fs/btrfs/ioctl.c
fs/btrfs/transaction.c