diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-01-26 10:39:49 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-03-01 09:12:11 -0500 |
commit | 16fb9808ab2c99979f081987752abcbc5b092eac (patch) | |
tree | 7963592a303d0c257a4e367076ed2ab8bb576159 /fs/nfsd/stats.h | |
parent | e41ee44cc6a473b1f414031782c3b4283d7f3e5f (diff) |
nfsd: make svc_stat per-network namespace instead of global
The final bit of stats that is global is the rpc svc_stat. Move this
into the nfsd_net struct and use that everywhere instead of the global
struct. Remove the unused global struct.
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/nfsd/stats.h')
-rw-r--r-- | fs/nfsd/stats.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/stats.h b/fs/nfsd/stats.h index 5675d283a537..d2753e975dfd 100644 --- a/fs/nfsd/stats.h +++ b/fs/nfsd/stats.h @@ -10,8 +10,6 @@ #include <uapi/linux/nfsd/stats.h> #include <linux/percpu_counter.h> -extern struct svc_stat nfsd_svcstats; - int nfsd_percpu_counters_init(struct percpu_counter *counters, int num); void nfsd_percpu_counters_reset(struct percpu_counter *counters, int num); void nfsd_percpu_counters_destroy(struct percpu_counter *counters, int num); |