md: recover_bitmaps() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 27 Feb 2015 23:04:37 +0000 (07:04 +0800)
committerNeilBrown <neilb@suse.de>
Fri, 20 Mar 2015 23:33:00 +0000 (10:33 +1100)
drivers/md/md-cluster.c:190:6: sparse: symbol 'recover_bitmaps' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md-cluster.c

index 96679b22cfc014751f54029c34222a6e343de236..5062bd1929beb24f5e7334ce8718759d1a55d6aa 100644 (file)
@@ -217,7 +217,7 @@ out:
        return s;
 }
 
-void recover_bitmaps(struct md_thread *thread)
+static void recover_bitmaps(struct md_thread *thread)
 {
        struct mddev *mddev = thread->mddev;
        struct md_cluster_info *cinfo = mddev->cluster_info;