]>
Commit | Line | Data |
---|---|---|
edf5051c FG |
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() | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | This is only used via ->ks_update of `kstat_t *`. | |
10 | This isn't exported nor do headers have its prototype. | |
11 | ||
12 | Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> | |
13 | Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com> | |
14 | Closes #686 | |
15 | (cherry picked from commit 76ede57c7d927f34fcb5df30c3e7f2b2254ff5ed) | |
16 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
17 | --- | |
18 | module/spl/spl-kstat.c | 2 +- | |
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
20 | ||
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: | |
26 | return (-rc); | |
27 | } | |
28 | ||
29 | -int | |
30 | +static int | |
31 | kstat_default_update(kstat_t *ksp, int rw) | |
32 | { | |
33 | ASSERT(ksp != NULL); | |
34 | -- | |
35 | 2.14.2 | |
36 |