summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomohiro Kusumi <[email protected]>2018-02-19 19:23:53 +0900
committerBrian Behlendorf <[email protected]>2018-02-21 15:11:38 -0800
commit68386b05031a70f7f135481307318ef04c2f30e0 (patch)
tree1d72ff03b66f55ad03bf33e38bc7e8c12d2be56b
parent2b5cd5990f587dedf5cfe3f857105af70c7a21ed (diff)
Staticize kstat_default_update()
This is only used via ->ks_update of `kstat_t *`. This isn't exported nor do headers have its prototype. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tomohiro Kusumi <[email protected]> Closes #686
-rw-r--r--module/spl/spl-kstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c
index 70c0c98f8..405ece0ad 100644
--- a/module/spl/spl-kstat.c
+++ b/module/spl/spl-kstat.c
@@ -327,7 +327,7 @@ restart:
return (-rc);
}
-int
+static int
kstat_default_update(kstat_t *ksp, int rw)
{
ASSERT(ksp != NULL);