]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: fix update=resync regression
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 9 Feb 2024 13:02:16 +0000 (14:02 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 13 Feb 2024 15:01:37 +0000 (16:01 +0100)
commitc9b6ee639d118ef16cb5d6d709b21d9bdd0d03f2
tree6b13020a2b4838aab4af02b65925a5796e185fee
parent476b00bdeeb6c004b3a758bd842b0fa9e4164508
mdadm: fix update=resync regression

mdadm --assemble --update=resync started failing  with the error
"mdadm: --update=resync not understood for 1.x metadata".

It is a regression. Add omitted branch to fix error.

Resubmitted, original author is not responding.
https://lore.kernel.org/linux-raid/ZZqJlCToUS3Qrl4J@bianca.dpss.psy.unipd.it/

Fixes: 7e8daba8b793 ("super1: refactor the code for enum")
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
super1.c