diff options
author | Mateusz Kusiak <mateusz.kusiak@intel.com> | 2023-01-02 09:35:22 +0100 |
---|---|---|
committer | Jes Sorensen <jes@trained-monkey.org> | 2023-01-04 16:20:58 +0100 |
commit | 03312b5240438ffc3b63114bdc87e911222f01e5 (patch) | |
tree | 6efdf29991cfc40cdbc320f31c33bf158b05fd0f /Examine.c | |
parent | super-intel: refactor the code for enum (diff) | |
download | mdadm-03312b5240438ffc3b63114bdc87e911222f01e5.tar.xz mdadm-03312b5240438ffc3b63114bdc87e911222f01e5.zip |
Change update to enum in update_super and update_subarray
Use already existing enum, change update_super and update_subarray
update to enum globally.
Refactor function references also.
Remove code specific options from update_options.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Diffstat (limited to 'Examine.c')
-rw-r--r-- | Examine.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ int Examine(struct mddev_dev *devlist, } if (c->SparcAdjust) - st->ss->update_super(st, NULL, "sparc2.2", + st->ss->update_super(st, NULL, UOPT_SPARC22, devlist->devname, 0, 0, NULL); /* Ok, its good enough to try, though the checksum could be wrong */ |