summaryrefslogtreecommitdiffstats
path: root/include/net/9p
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-04 03:08:18 +0200
committerDominique Martinet <dominique.martinet@atmark-techno.com>2022-07-09 07:38:35 +0200
commit8b11ff098af42b1fa57fc817daadd53c8b244a0c (patch)
tree79485ace4a23b98a19b803b8d4f766e7450135ad /include/net/9p
parent9p: Drop kref usage (diff)
downloadlinux-8b11ff098af42b1fa57fc817daadd53c8b244a0c.tar.xz
linux-8b11ff098af42b1fa57fc817daadd53c8b244a0c.zip
9p: Add client parameter to p9_req_put()
This is to aid in adding mempools, in the next patch. Link: https://lkml.kernel.org/r/20220704014243.153050-2-kent.overstreet@gmail.com Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Cc: Eric Van Hensbergen <ericvh@gmail.com> Cc: Latchesar Ionkov <lucho@ionkov.net> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'include/net/9p')
-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 ad38325aaef0..78ebcf782ce5 100644
--- a/include/net/9p/client.h
+++ b/include/net/9p/client.h
@@ -236,7 +236,7 @@ static inline int p9_req_try_get(struct p9_req_t *r)
return refcount_inc_not_zero(&r->refcount);
}
-int p9_req_put(struct p9_req_t *r);
+int p9_req_put(struct p9_client *c, struct p9_req_t *r);
/* We cannot have the real tracepoints in header files,
* use a wrapper function */