9p: Drop kref usage
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 4 Jul 2022 01:02:49 +0000 (21:02 -0400)
committerDominique Martinet <dominique.martinet@atmark-techno.com>
Sat, 9 Jul 2022 05:38:12 +0000 (14:38 +0900)
commit6cda12864cb0f99810a5809e11e3ee5b102c9a47
tree6de8ed379115b8458e7e298205223777a384fe39
parente3baced02a521a6f213b29053db76394aa22d5e1
9p: Drop kref usage

An upcoming patch is going to require passing the client through
p9_req_put() -> p9_req_free(), but that's awkward with the kref
indirection - so this patch switches to using refcount_t directly.

Link: https://lkml.kernel.org/r/20220704014243.153050-1-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>
include/net/9p/client.h
net/9p/client.c