]>
git.proxmox.com Git - mirror_spl.git/commitdiff
projects
/
mirror_spl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
610988f
)
Staticize kstat_default_update()
author
Tomohiro Kusumi
<kusumi.tomohiro@osnexus.com>
Mon, 19 Feb 2018 10:23:53 +0000
(19:23 +0900)
committer
Tony Hutter
<hutter2@llnl.gov>
Wed, 14 Mar 2018 23:08:51 +0000
(16:08 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/module/spl/spl-kstat.c
b/module/spl/spl-kstat.c
index d2baa49cf2236efce029f078f817ffcb0699b8b6..e769510bcdd78ed81b0ec6d7baf2d43118b73a0b 100644
(file)
--- 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);