From: Al Viro Date: Fri, 23 Dec 2011 12:58:13 +0000 (-0500) Subject: Btrfs: call d_instantiate after all ops are setup X-Git-Tag: v3.2-rc7~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08c422c27f855d27b0b3d9fa30ebd938d4ae6f1f;p=pandora-kernel.git Btrfs: call d_instantiate after all ops are setup This closes races where btrfs is calling d_instantiate too soon during inode creation. All of the callers of btrfs_add_nondir are updated to instantiate after the inode is fully setup in memory. Signed-off-by: Al Viro Signed-off-by: Chris Mason --- Reading git-diff-tree failed