1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
3 Date: Mon, 19 Feb 2018 19:23:53 +0900
4 Subject: [PATCH] Staticize kstat_default_update()
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 This is only used via ->ks_update of `kstat_t *`.
10 This isn't exported nor do headers have its prototype.
12 Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
13 Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
15 (cherry picked from commit 76ede57c7d927f34fcb5df30c3e7f2b2254ff5ed)
16 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
18 module/spl/spl-kstat.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/module/spl/spl-kstat.c b/module/spl/spl-kstat.c
22 index d2baa49..e769510 100644
23 --- a/module/spl/spl-kstat.c
24 +++ b/module/spl/spl-kstat.c
25 @@ -327,7 +327,7 @@ restart:
31 kstat_default_update(kstat_t *ksp, int rw)