summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-02-28 07:04:37 +0800
committerNeilBrown <neilb@suse.de>2015-03-21 10:33:00 +1100
commit6dc69c9c460b0cf05b5b3f323a8b944a2e52e76d (patch)
tree1f655723ae95ea2255a9c6cdfe04ac5a3ad44fd8 /drivers/md
parentfa8259da0e10b189e41ee60907ec2a499bb66019 (diff)
downloadlinux-6dc69c9c460b0cf05b5b3f323a8b944a2e52e76d.tar.gz
linux-6dc69c9c460b0cf05b5b3f323a8b944a2e52e76d.tar.bz2
linux-6dc69c9c460b0cf05b5b3f323a8b944a2e52e76d.zip
md: recover_bitmaps() can be static
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/md-cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c
index 96679b22cfc0..5062bd1929be 100644
--- a/drivers/md/md-cluster.c
+++ b/drivers/md/md-cluster.c
@@ -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;