summaryrefslogtreecommitdiff
path: root/fs/9p/fid.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/fid.h')
-rw-r--r--fs/9p/fid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/fid.h b/fs/9p/fid.h
index 1fed96546728..f7f33509e169 100644
--- a/fs/9p/fid.h
+++ b/fs/9p/fid.h
@@ -28,7 +28,7 @@ static inline struct p9_fid *v9fs_fid_clone(struct dentry *dentry)
if (!fid || IS_ERR(fid))
return fid;
- nfid = p9_client_walk(fid, 0, NULL, 1);
+ nfid = clone_fid(fid);
p9_client_clunk(fid);
return nfid;
}