]> granicus.if.org Git - zfs/commitdiff
Staticize kstat_default_update()
authorTomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Mon, 19 Feb 2018 10:23:53 +0000 (19:23 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Feb 2018 23:11:38 +0000 (15:11 -0800)
This is only used via ->ks_update of `kstat_t *`.
This isn't exported nor do headers have its prototype.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #686

module/spl/spl-kstat.c

index 70c0c98f869c0f81e9376408472db2c90d7ccbeb..405ece0add92f0ccecb074bcbdbc47365d7241e0 100644 (file)
@@ -327,7 +327,7 @@ restart:
        return (-rc);
 }
 
-int
+static int
 kstat_default_update(kstat_t *ksp, int rw)
 {
        ASSERT(ksp != NULL);