]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8450a13eb93f1f591af20f1be12cd34f13787ec0
tree6de8ed379115b8458e7e298205223777a384fe39
parent71e1174050895fe7d5ed0db9bda7df863eff9538
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