]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix assemble with ppl during rebuild
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Fri, 9 Mar 2018 08:38:36 +0000 (09:38 +0100)
committerJes Sorensen <jsorensen@fb.com>
Thu, 22 Mar 2018 17:06:56 +0000 (13:06 -0400)
commite397cefe1376a8445247bfdfc35d21c16186e9a0
treeebf0286abc9f30279bccdb4c4ea5b57c872d7422
parent548b2a3d2fbc56e0d239a7614be526b4b43e15ec
imsm: fix assemble with ppl during rebuild

When assembling an array undergoing rebuild the kernel will switch to
resync if there are no ppl entries to recover. Prevent that by adding an
empty entry when validating the ppl header.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c