OSDN Git Service

md-cluster: make function cluster_check_sync_size static
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Oct 2017 09:51:17 +0000 (10:51 +0100)
committerShaohua Li <shli@fb.com>
Tue, 17 Oct 2017 02:06:35 +0000 (19:06 -0700)
commit7a57157aeb157cd02ccdcff237bbf63440035b07
tree33af0075accc7f8c4c711ed5a99a5550a8dd563c
parent07719ff767dcd8cc42050f185d332052f3816546
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>
drivers/md/md-cluster.c