aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-03-16 20:37:38 +0100
committerBrian Behlendorf <[email protected]>2022-04-01 18:02:09 -0700
commit7b875ee6019ddf1d5eda98ac611403db2e98f670 (patch)
treeee50206ed6b0740f587f53f01e0f9a334c671f10
parentb1b5843ae4c8298a11791257d95b220ed8993b39 (diff)
module: zstd: zfs_zstd: staticify zstd_ksp
Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13259
-rw-r--r--module/zstd/zfs_zstd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zstd/zfs_zstd.c b/module/zstd/zfs_zstd.c
index a95ba0bea..5ae164663 100644
--- a/module/zstd/zfs_zstd.c
+++ b/module/zstd/zfs_zstd.c
@@ -50,7 +50,7 @@
#include "lib/zstd.h"
#include "lib/common/zstd_errors.h"
-kstat_t *zstd_ksp = NULL;
+static kstat_t *zstd_ksp = NULL;
typedef struct zstd_stats {
kstat_named_t zstd_stat_alloc_fail;