md: factor out a helper raid_is_456()
authorYu Kuai <yukuai3@huawei.com>
Fri, 29 Aug 2025 08:04:17 +0000 (16:04 +0800)
committerYu Kuai <yukuai3@huawei.com>
Sat, 6 Sep 2025 09:17:58 +0000 (17:17 +0800)
commit7797da149d4622bbe803eaee6eaf22a7f62f44ab
tree46f8c460455d454d0202579eefc1596799242068
parentd01acbce391767318c94fb1f6d648cfabb428f9d
md: factor out a helper raid_is_456()

There are no functional changes, the helper will be used by llbitmap in
following patches.

Link: https://lore.kernel.org/linux-raid/20250829080426.1441678-3-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Li Nan <linan122@huawei.com>
drivers/md/md.c
drivers/md/md.h