diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-12 22:24:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 13:01:20 -0500 |
commit | 41d28bca2da4bd75a8915c1ccf2cacf7f4a2e531 (patch) | |
tree | 1a3d658ecfe4375e0ca4f837f6c7f8397efdefba /fs/9p | |
parent | b5ae6b15bd73e35b129408755a0804287a87e041 (diff) |
switch d_materialise_unique() users to d_splice_alias()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 296482fc77a9..9ee5343d4884 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c | |||
@@ -832,7 +832,7 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, | |||
832 | * moved b under k and client parallely did a lookup for | 832 | * moved b under k and client parallely did a lookup for |
833 | * k/b. | 833 | * k/b. |
834 | */ | 834 | */ |
835 | res = d_materialise_unique(dentry, inode); | 835 | res = d_splice_alias(inode, dentry); |
836 | if (!res) | 836 | if (!res) |
837 | v9fs_fid_add(dentry, fid); | 837 | v9fs_fid_add(dentry, fid); |
838 | else if (!IS_ERR(res)) | 838 | else if (!IS_ERR(res)) |