diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2023-06-01 09:27:49 +0200 |
---|---|---|
committer | Jes Sorensen <jes@trained-monkey.org> | 2023-10-26 23:28:23 +0200 |
commit | ae5f13a971bc309e0e25087421119b86daf2e510 (patch) | |
tree | abf7fe56135a8b36da993ccdda587857cce46424 /ANNOUNCE-3.4 | |
parent | mdadm: refactor ident->name handling (diff) | |
download | mdadm-ae5f13a971bc309e0e25087421119b86daf2e510.tar.xz mdadm-ae5f13a971bc309e0e25087421119b86daf2e510.zip |
mdadm: define ident_set_devname()
Use dedicated set method for ident->devname. Now, devname validation
is done early for modes where device is created (Build, Create and
Assemble). The rules, used for devname validation are derived from
config file.
It could cause regression with execeptional cases where existing device
has name which doesn't match criteria for Manage and Grow modes. It is
low risk and those modes are not omitted from early devname validation.
Use can used main numbered devnode to avoid this problem.
Messages exposed to user are changed so it might cause a regression
in negative scenarios. Error codes are not changed.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Diffstat (limited to 'ANNOUNCE-3.4')
0 files changed, 0 insertions, 0 deletions