diff options
author | Shminderjit Singh <shminderjit.singh@oracle.com> | 2024-08-26 12:06:50 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-09-04 09:30:43 +0200 |
commit | f786072a3e2928766a9b4f1b7d3372a601c259ea (patch) | |
tree | d080b36fde4b53f58bb265453ff5799f1315f2ec /util.c | |
parent | imsm: add IMSM_OROM_CAPABILITIES_TPV to nvme orom (diff) | |
download | mdadm-f786072a3e2928766a9b4f1b7d3372a601c259ea.tar.xz mdadm-f786072a3e2928766a9b4f1b7d3372a601c259ea.zip |
mdadm: Increase number limit in md device name to 1024.
Updated the maximum device number in md device names from 127 to 1024.
The previous limit was causing issues in the automation framework.
This change ensures backward compatibility and allows for future
scalability.
Fixes: 25aa7329141c ("mdadm: numbered names verification")
Signed-off-by: Shminderjit Singh <shminderjit.singh@oracle.com>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1003,7 +1003,7 @@ static bool is_devname_numbered(const char *devname, const char *pref, const int if (parse_num(&val, devname + pref_len) != 0) return false; - if (val > 127) + if (val > 1024) return false; return true; |