Commit 7b81ef8b authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Mike Snitzer

dm raid: select the Kconfig option CONFIG_MD_RAID0

Since the commit 0cf45031 ("dm raid: add support for the MD RAID0
personality"), the dm-raid subsystem can activate a RAID-0 array.
Therefore, add MD_RAID0 to the dependencies of DM_RAID, so that MD_RAID0
will be selected when DM_RAID is selected.

Fixes: 0cf45031 ("dm raid: add support for the MD RAID0 personality")
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 6e53636f
...@@ -357,6 +357,7 @@ config DM_LOG_USERSPACE ...@@ -357,6 +357,7 @@ config DM_LOG_USERSPACE
config DM_RAID config DM_RAID
tristate "RAID 1/4/5/6/10 target" tristate "RAID 1/4/5/6/10 target"
depends on BLK_DEV_DM depends on BLK_DEV_DM
select MD_RAID0
select MD_RAID1 select MD_RAID1
select MD_RAID10 select MD_RAID10
select MD_RAID456 select MD_RAID456
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment