summaryrefslogtreecommitdiff
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 10:20:58 -0500
commit3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9 (patch)
tree7e9017d8c79ccaef5a740ea8c0eaf36cd5288f8d /Makefile
parentf2e8393bd7223c419aaa33c45feeb5c75440b986 (diff)
downloadmdadm-3a87fa67112dc2c2c3664aeecd0b49cb4b6ceaa9.tar.gz
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