]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: numbered names verification
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 23 Mar 2023 16:50:17 +0000 (17:50 +0100)
committerJes Sorensen <jes@trained-monkey.org>
Mon, 8 May 2023 20:23:45 +0000 (16:23 -0400)
commit25aa7329141c0b28d8811671627f0f5c5dc22273
tree286fe590a0f86e4b47a9dba980cd2d32eab0e2f2
parent7b3b691ba69b909ea8c172aae693fa2a6938fd14
mdadm: numbered names verification

New functions added to remove literals and make the code reusable.
Use parse_num() instead of is_numer().

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
config.c
lib.c
mdadm.h
util.c