Whamcloud - gitweb
LU-19859 misc: Declare symbols static 43/59143/2
authorOleg Drokin <green@whamcloud.com>
Wed, 7 May 2025 21:44:27 +0000 (17:44 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 14 May 2025 03:57:51 +0000 (03:57 +0000)
Previous iteration missed osp_ping_show and
qsd_caches that are not used outside the
files they are in.

Change-Id: Ib2a0455d81ef0ff96537055ba62651c482a3159b
Test-Parameters: trivial
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59143
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osp/lproc_osp.c
lustre/quota/qsd_lib.c

index 12b0c14..a9cd9b9 100644 (file)
@@ -859,8 +859,8 @@ static ssize_t lfsck_max_rpcs_in_flight_store(struct kobject *kobj,
 }
 LUSTRE_RW_ATTR(lfsck_max_rpcs_in_flight);
 
-ssize_t osp_ping_show(struct kobject *kobj, struct attribute *attr,
-                     char *buffer)
+static ssize_t osp_ping_show(struct kobject *kobj, struct attribute *attr,
+                            char *buffer)
 {
        struct dt_device *dt = container_of(kobj, struct dt_device,
                                            dd_kobj);
index e0fcab4..2cc7ebe 100644 (file)
@@ -36,7 +36,7 @@
 
 struct kmem_cache *upd_kmem;
 
-struct lu_kmem_descr qsd_caches[] = {
+static struct lu_kmem_descr qsd_caches[] = {
        {
                .ckd_cache = &upd_kmem,
                .ckd_name  = "upd_kmem",