summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-01-26 10:39:40 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-03-01 09:12:07 -0500
commitab42f4d9a26f1723dcfd6c93fcf768032b2bb5e7 (patch)
tree6250606034cfb505a0eff0ddc480df5b8dade2e1 /fs/lockd
parent31e4bb8fb8d6f1e0049ba1e564ef920bf9b688d0 (diff)
downloadlinux-ab42f4d9a26f1723dcfd6c93fcf768032b2bb5e7.tar.gz
linux-ab42f4d9a26f1723dcfd6c93fcf768032b2bb5e7.tar.bz2
linux-ab42f4d9a26f1723dcfd6c93fcf768032b2bb5e7.zip
sunrpc: don't change ->sv_stats if it doesn't exist
We check for the existence of ->sv_stats elsewhere except in the core processing code. It appears that only nfsd actual exports these values anywhere, everybody else just has a write only copy of sv_stats in their svc_program. Add a check for ->sv_stats before every adjustment to allow us to eliminate the stats struct from all the users who don't report the stats. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions