]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md: select BLOCK_LEGACY_AUTOLOAD
authorNeilBrown <neilb@suse.de>
Mon, 13 Mar 2023 20:29:17 +0000 (13:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:51:11 +0000 (12:51 +0100)
commit3e9899c12d5ab3a8ce376bf4365175ea3dbaffc0
tree45dc66064a7fab33ce3d3d78d4cdc4567fe92e4d
parent1a7c8039d2ee46684f01645f089128dd552512b4
md: select BLOCK_LEGACY_AUTOLOAD

commit 6c0f5898836c05c6d850a750ed7940ba29e4e6c5 upstream.

When BLOCK_LEGACY_AUTOLOAD is not enable, mdadm is not able to
activate new arrays unless "CREATE names=yes" appears in
mdadm.conf

As this is a regression we need to always enable BLOCK_LEGACY_AUTOLOAD
for when MD is selected - at least until mdadm is updated and the
updates widely available.

Cc: stable@vger.kernel.org # v5.18+
Fixes: fbdee71bb5d8 ("block: deprecate autoloading based on dev_t")
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/Kconfig