diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-03 12:51:17 +0300 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-10-17 05:06:35 +0300 |
commit | 7a57157aeb157cd02ccdcff237bbf63440035b07 (patch) | |
tree | 33af0075accc7f8c4c711ed5a99a5550a8dd563c /drivers/md/md-cluster.c | |
parent | 07719ff767dcd8cc42050f185d332052f3816546 (diff) | |
download | linux-7a57157aeb157cd02ccdcff237bbf63440035b07.tar.xz |
md-cluster: make function cluster_check_sync_size static
The function cluster_check_sync_size is local to the source and does
not need to be in global scope, so make it static.
Cleans up sparse warning:
symbol 'cluster_check_sync_size' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c index 03082e17c65c..bf41492a2cb0 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -1094,7 +1094,7 @@ static void metadata_update_cancel(struct mddev *mddev) /* * return 0 if all the bitmaps have the same sync_size */ -int cluster_check_sync_size(struct mddev *mddev) +static int cluster_check_sync_size(struct mddev *mddev) { int i, rv; bitmap_super_t *sb; |