sunrpc: use the struct net as the svc proc private
authorJosef Bacik <josef@toxicpanda.com>
Fri, 26 Jan 2024 15:39:44 +0000 (10:39 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:09 +0000 (09:12 -0500)
commit418b9687dece5bd763c09b5c27a801a7e3387be9
tree2ed3b7d1705678c6d5d975615d53ae72ef346c26
parent3f6ef182f144dcc9a4d942f97b6a8ed969f13c95
sunrpc: use the struct net as the svc proc private

nfsd is the only thing using this helper, and it doesn't use the private
currently.  When we switch to per-network namespace stats we will need
the struct net * in order to get to the nfsd_net.  Use the net as the
proc private so we can utilize this when we make the switch over.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/stats.c