]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: check device policies in manage_add_external()
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 29 Feb 2024 11:52:13 +0000 (12:52 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 11 Mar 2024 10:08:59 +0000 (11:08 +0100)
commit1251db34616bf4890d86664abc5186e9106e9073
tree9f68572cce44d71a548106e243b574396b44db44
parentf5a39b66f794322f30828389ddd488d17f578ad5
Manage: check device policies in manage_add_external()

Only IMSM is going to use device policies so it is added to
manage_add_external(). Test policies before adding the drive to
container.

The change blocks adding new device to the container which already
contains not matching devices

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Manage.c