diff options
author | Mateusz Kusiak <mateusz.kusiak@intel.com> | 2023-01-02 09:35:24 +0100 |
---|---|---|
committer | Jes Sorensen <jes@trained-monkey.org> | 2023-01-04 16:20:58 +0100 |
commit | 3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9 (patch) | |
tree | 7e9017d8c79ccaef5a740ea8c0eaf36cd5288f8d /Makefile | |
parent | Manage&Incremental: code refactor, string to enum (diff) | |
download | mdadm-3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9.tar.xz mdadm-3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9.zip |
Change char* to enum in context->update & refactor code
Storing update option in string is bad for frequent comparisons and
error prone.
Replace char array with enum so already existing enum is passed around
instead of string.
Adapt code to changes.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions