]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
9p: Drop kref usage
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 4 Jul 2022 01:02:49 +0000 (21:02 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:42:06 +0000 (14:42 +0200)
commitfb31d46e55cb0b95061b8df8f1f155f59e05bfa8
tree63e650b3f510ce55f75a5adcf39d03d89f71f95a
parent20233a3e523e903660714a1d2643838682614dab
9p: Drop kref usage

[ Upstream commit 6cda12864cb0f99810a5809e11e3ee5b102c9a47 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/9p/client.h
net/9p/client.c