]> git.ipfire.org Git - thirdparty/mdadm.git/commit
super1: refactor the code for enum
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Mon, 2 Jan 2023 08:35:20 +0000 (09:35 +0100)
committerJes Sorensen <jes@trained-monkey.org>
Wed, 4 Jan 2023 15:20:58 +0000 (10:20 -0500)
commit7e8daba8b7937716dce8ea28298a4e2e72cb829e
tree234987bf4beb6c1bb43a5b9ef7edf0bd43bafe91
parent0a9e39383d3bf63e1f5cf10f64200083a1af8091
super1: refactor the code for enum

It prepares update_super1 for change context->update to enum.
Change if else statements into switch.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
super1.c