]> www.infradead.org Git - users/jedix/linux-maple.git/commit
md/md-bitmap: make in memory structure internal
authorYu Kuai <yukuai3@huawei.com>
Mon, 26 Aug 2024 07:44:52 +0000 (15:44 +0800)
committerSong Liu <song@kernel.org>
Tue, 27 Aug 2024 19:43:16 +0000 (12:43 -0700)
commit59fdd43304f4cbb7ee8e281ca337afd803c309f6
tree6e450240b2be7acff0f83d74dcbcf67e66c6fdec
parentdab2ce5534ef7a7b8db70d1abd4225ee8a7798c7
md/md-bitmap: make in memory structure internal

Now that struct bitmap_page and bitmap is not used externally anymore,
move them from md-bitmap.h to md-bitmap.c (expect that dm-raid is still
using define marco 'COUNTER_MAX').

Also fix some checkpatch warnings.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240826074452.1490072-43-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md-bitmap.c
drivers/md/md-bitmap.h
drivers/md/md-cluster.c
drivers/md/md.h
drivers/md/raid1.c