On 1/2/23 03:35, Mateusz Kusiak wrote: > This is the v2 of the patchset I submitted long time ago. > I applied the changes that were requested, but since long time has > passed I'm submitting the whole patchset once again. > > Mateusz Kusiak (10): > mdadm: Add option validation for --update-subarray > Fix --update-subarray on active volume > Add code specific update options to enum. > super-ddf: Remove update_super_ddf. > super0: refactor the code for enum > super1: refactor the code for enum > super-intel: refactor the code for enum > Change update to enum in update_super and update_subarray > Manage&Incremental: code refactor, string to enum > Change char* to enum in context->update & refactor code > > Assemble.c | 46 ++++++++------- > Examine.c | 2 +- > Grow.c | 17 +++--- > Incremental.c | 8 +-- > Manage.c | 42 ++++++++------ > ReadMe.c | 31 ++++++++++ > maps.c | 31 ++++++++++ > mdadm.c | 129 ++++++++++++++---------------------------- > mdadm.h | 65 ++++++++++++++++++--- > super-ddf.c | 70 ----------------------- > super-intel.c | 48 +++++++++------- > super0.c | 103 ++++++++++++++++++++------------- > super1.c | 153 ++++++++++++++++++++++++++++++-------------------- > 13 files changed, 406 insertions(+), 339 deletions(-) > Applied! Thanks, Jes