]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: Allow create RAID volume with link to container
authorMichal Zylowski <michal.zylowski@intel.com>
Wed, 4 Apr 2018 12:20:17 +0000 (14:20 +0200)
committerJes Sorensen <jsorensen@fb.com>
Tue, 10 Apr 2018 20:12:00 +0000 (16:12 -0400)
commitb91ad097d6eecb85cf28915836370288709fbda8
tree3baa253ab32b9899e87637d2b49b0a6f054e690e
parent1c7c65a3e5d3e5f6d32bfa4cf0d872f87c654eb2
imsm: Allow create RAID volume with link to container

After 1db03765("Subdevs can't be all missing when create raid device")
raid volume can't be created with link to container. This feature should
not be blocked in Create function.  IMSM code forbids creation of
container with missing disk, so case like all dev's missing is already
handled.

Permit IMSM volume creation when devices are given as link to container.

Signed-off-by: Michal Zylowski <michal.zylowski@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Create.c