]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nfs: make the rpc_stat per net namespace
authorJosef Bacik <josef@toxicpanda.com>
Thu, 15 Feb 2024 19:57:32 +0000 (14:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:14:23 +0000 (12:14 +0200)
commite9f9ceb3cca1b37ce82595cac46cc30cba0a4812
tree71966b78c195cd0ea3e447ce22cc488713ba9c70
parente05194baae299f2148ab5f6bab659c6ce8d1f6d3
nfs: make the rpc_stat per net namespace

[ Upstream commit 1548036ef1204df65ca5a16e8b199c858cb80075 ]

Now that we're exposing the rpc stats on a per-network namespace basis,
move this struct into struct nfs_net and use that to make sure only the
per-network namespace stats are exposed.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Stable-dep-of: 24457f1be29f ("nfs: Handle error of rpc_proc_register() in nfs_net_init().")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/client.c
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/netns.h