summaryrefslogtreecommitdiff
path: root/fs/9p/fid.h
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2020-11-03 11:35:57 +0300
committerDominique Martinet <asmadeus@codewreck.org>2020-11-19 19:21:34 +0300
commitff5e72ebef41068789c93b0666cebde80cc8bd8c (patch)
tree9bd135437ae858644cd22cd1ee29063a543a0741 /fs/9p/fid.h
parent6636b6dcc3db2258cd0585b8078c1c225c4b6dde (diff)
downloadlinux-ff5e72ebef41068789c93b0666cebde80cc8bd8c.tar.xz
9p: apply review requests for fid refcounting
Fix style issues in parent commit ("apply review requests for fid refcounting"), no functional change. Link: http://lkml.kernel.org/r/1605802012-31133-2-git-send-email-asmadeus@codewreck.org Fixes: 6636b6dcc3db ("9p: add refcount to p9_fid struct") Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
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;
}