commit | 08c422c27f855d27b0b3d9fa30ebd938d4ae6f1f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Fri Dec 23 07:58:13 2011 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Dec 23 08:02:26 2011 -0500 |
tree | f618c94aa612781c911e18440df7eb16aed8697b | |
parent | 8d532b2afb2eacc84588db709ec280a3d1219be3 [diff] |
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 <viro@zeniv.linux.org.uk> Signed-off-by: Chris Mason <chris.mason@oracle.com>