aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/vfs_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/vfs_inode.c')
-rw-r--r--fs/9p/vfs_inode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 5076eeb95502..b76a40bdf4c2 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -699,11 +699,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
699 goto error_iput; 699 goto error_iput;
700 700
701inst_out: 701inst_out:
702 if (v9ses->cache)
703 d_set_d_op(dentry, &v9fs_cached_dentry_operations);
704 else
705 d_set_d_op(dentry, &v9fs_dentry_operations);
706
707 d_add(dentry, inode); 702 d_add(dentry, inode);
708 return NULL; 703 return NULL;
709 704