diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-07-15 12:29:24 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-07-19 15:34:19 +0200 |
commit | 998544c198c156db027a6e4f1b201910b138041e (patch) | |
tree | f282054dd5b1bd9b9be66372393afba7f3215478 /Examine.c | |
parent | mdadm: lib.c fix coverity issues (diff) | |
download | mdadm-998544c198c156db027a6e4f1b201910b138041e.tar.xz mdadm-998544c198c156db027a6e4f1b201910b138041e.zip |
mdadm: do not allow leading dot in MD device name
Do not allow to use '.' on first place for named MD device.
Having leading dot might be confusing, MD device cannot be hidden.
It also removes possibility to create md device with name '.'.
Additionally, code optimalizations are done.
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'Examine.c')
0 files changed, 0 insertions, 0 deletions