]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: block using partition
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Fri, 28 Sep 2018 07:48:53 +0000 (09:48 +0200)
committerJes Sorensen <jsorensen@fb.com>
Fri, 28 Sep 2018 14:25:58 +0000 (10:25 -0400)
commit3a30e28ef7d15fcb49bc852216c597fdd5bfcef0
tree7ef04aee60b86b536d4590fb2ff378ba7cccf047
parent783a4a93b9f01d1e9de98ea7d318a7885382cefa
imsm: block using partition

When IMSM_NO_PLATFORM is exported mdadm allows to create array with
partitions or add partition to existing array but there is no
possibilty to assemble it after stopping, see commit 691c6ee1b6bb
("IMSM/DDF: don't recognised these metadata on partitions.").

When searching for hba capabilities first test device and print
corresponding error if it is a partition.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c