]> www.infradead.org Git - users/hch/misc.git/commit
md: switch md-cluster to use md_submodle_head
authorYu Kuai <yukuai3@huawei.com>
Sat, 15 Feb 2025 09:22:25 +0000 (17:22 +0800)
committerYu Kuai <yukuai@kernel.org>
Tue, 4 Mar 2025 16:28:39 +0000 (00:28 +0800)
commit87a86277c9f54953e184318bf71630388aeaf000
tree476de798a90fd3985eb218693d04d37266415f96
parentc594de0455b3d65525bad2020f7f7e41af233045
md: switch md-cluster to use md_submodle_head

To make code cleaner, and prepare to add kconfig for bitmap.

Also remove the unsed global variables pers_lock, md_cluster_ops and
md_cluster_mod, and exported symbols register_md_cluster_operations(),
unregister_md_cluster_operations() and md_cluster_ops.

Link: https://lore.kernel.org/linux-raid/20250215092225.2427977-8-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Su Yue <glass.su@suse.com>
drivers/md/md-cluster.c
drivers/md/md-cluster.h
drivers/md/md.c
drivers/md/md.h