summaryrefslogtreecommitdiff
path: root/drivers/md/md-bitmap.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2024-08-26 15:44:27 +0800
committerSong Liu <song@kernel.org>2024-08-27 10:14:16 -0700
commita0240e3ec753d3caf29edbaf6cf5685c7b447a2a (patch)
treedfdfb2f7db744d5770902695ce7e84617083f7df /drivers/md/md-bitmap.h
parentca925302e841ff0a0598b283f87c472d92b389f3 (diff)
downloadlinux-a0240e3ec753d3caf29edbaf6cf5685c7b447a2a.tar.gz
linux-a0240e3ec753d3caf29edbaf6cf5685c7b447a2a.tar.bz2
linux-a0240e3ec753d3caf29edbaf6cf5685c7b447a2a.zip
md/md-bitmap: make md_bitmap_print_sb() internal
md_bitmap_print_sb() is only used inside md-bitmap.c, hence make it static, also rename it to bitmap_print_sb. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20240826074452.1490072-18-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/md-bitmap.h')
-rw-r--r--drivers/md/md-bitmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md-bitmap.h b/drivers/md/md-bitmap.h
index c0858665554e..5d5811c89b77 100644
--- a/drivers/md/md-bitmap.h
+++ b/drivers/md/md-bitmap.h
@@ -258,7 +258,6 @@ void mddev_set_bitmap_ops(struct mddev *mddev);
/* these are used only by md/bitmap */
-void md_bitmap_print_sb(struct bitmap *bitmap);
void md_bitmap_update_sb(struct bitmap *bitmap);
int md_bitmap_get_stats(struct bitmap *bitmap, struct md_bitmap_stats *stats);