diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2011-12-23 12:58:13 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-12-23 13:02:26 (GMT) |
commit | 08c422c27f855d27b0b3d9fa30ebd938d4ae6f1f (patch) | |
tree | f618c94aa612781c911e18440df7eb16aed8697b /fs/btrfs/compat.h | |
parent | 8d532b2afb2eacc84588db709ec280a3d1219be3 (diff) | |
download | linux-08c422c27f855d27b0b3d9fa30ebd938d4ae6f1f.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/compat.h')
0 files changed, 0 insertions, 0 deletions