summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2020-11-03 09:35:57 +0100
committerDominique Martinet <asmadeus@codewreck.org>2020-11-19 17:21:34 +0100
commitff5e72ebef41068789c93b0666cebde80cc8bd8c (patch)
tree9bd135437ae858644cd22cd1ee29063a543a0741 /include
parent6636b6dcc3db2258cd0585b8078c1c225c4b6dde (diff)
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 'include')
-rw-r--r--include/net/9p/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/client.h b/include/net/9p/client.h
index 58ed9bd306bd..e1c308d8d288 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -149,7 +149,7 @@ enum fid_source {
struct p9_fid {
struct p9_client *clnt;
u32 fid;
- atomic_t count;
+ refcount_t count;
int mode;
struct p9_qid qid;
u32 iounit;