]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: simplify imsm_check_attributes()
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Mon, 29 Apr 2024 13:07:19 +0000 (15:07 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 6 May 2024 23:50:19 +0000 (01:50 +0200)
commite0e56f4b2ed514f5049eb96b4ff8f7fdf30a4c49
treebb4c09b237c41797121c31824f55279107a803e6
parent610fc2ee6fc09e828b14e8fa221b3f4f70fc7b2b
imsm: simplify imsm_check_attributes()

imsm_check_attributes() is too complex for that it really does.

Remove repeating code and simplify the function.
Fix function calls.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
super-intel.c