]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: check if device is container before scheduling force-clean update
authorKinga Tanska <kinga.tanska@intel.com>
Fri, 19 Aug 2022 00:55:46 +0000 (02:55 +0200)
committerJes Sorensen <jsorensen@fb.com>
Wed, 24 Aug 2022 16:00:32 +0000 (12:00 -0400)
commit5c3c3df646dd3b7e8df81152f08e9ac4ddccc671
tree304a92cd84b8fa901062082a1aed538c2a51cb62
parent7211116c295ba1f9e1fcbdc2dd2d3762855062e1
Assemble: check if device is container before scheduling force-clean update

Up to now using assemble with force flag making each array as clean.
Force-clean should not be done for the container. This commit add
check if device is different than container before cleaning.

Signed-off-by: Kinga Tanska <kinga.tanska@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Assemble.c