From: Chris Mason Date: Wed, 6 Feb 2013 17:06:02 +0000 (-0500) Subject: Btrfs: move d_instantiate outside the transaction during mksubvol X-Git-Tag: v3.8-rc7~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a65e24b0bb7dde48cac4a2bf74d5558f9e32ba7;p=pandora-kernel.git Btrfs: move d_instantiate outside the transaction during mksubvol Dave Sterba triggered a lockdep complaint about lock ordering between the sb_internal lock and the cleaner semaphore. btrfs_lookup_dentry() checks for orphans if we're looking up the inode for a subvolume, and subvolume creation is triggering the lookup with a transaction running. This commit moves the d_instantiate after the transaction closes. Signed-off-by: Chris Mason --- Reading git-diff-tree failed