summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMateusz Kusiak <mateusz.kusiak@intel.com>2023-01-02 09:35:24 +0100
committerJes Sorensen <jes@trained-monkey.org>2023-01-04 16:20:58 +0100
commit3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9 (patch)
tree7e9017d8c79ccaef5a740ea8c0eaf36cd5288f8d /Makefile
parentManage&Incremental: code refactor, string to enum (diff)
downloadmdadm-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