aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbuild test robot <[email protected]>2015-02-28 07:04:37 +0800
committerNeilBrown <[email protected]>2015-03-21 10:33:00 +1100
commit6dc69c9c460b0cf05b5b3f323a8b944a2e52e76d (patch)
tree1f655723ae95ea2255a9c6cdfe04ac5a3ad44fd8
parentfa8259da0e10b189e41ee60907ec2a499bb66019 (diff)
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 <[email protected]> Signed-off-by: NeilBrown <[email protected]>
-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;