]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: set ident.devname if applicable
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Thu, 1 Jun 2023 07:27:47 +0000 (09:27 +0200)
committerJes Sorensen <jes@trained-monkey.org>
Thu, 26 Oct 2023 21:28:23 +0000 (17:28 -0400)
commit330c07f8e4d26f4f2d068e11f09c9df8a3380087
tree939d37ec88cc9eeb43a47064f47307a93d691874
parent569a23425939e4bfc7b4d7f871d8510bb968f892
mdadm: set ident.devname if applicable

This patch tries to propagate the usage of struct mddev_ident for cmdline
where it is applicable. To avoid regression, this value is derived
from devlist->devname for applicable modes only.
As a result, the whole structure is passed to some functions. It produces
some changes for Build, Create and Assemble.
No functional changes intended.

The goal of the change is to unify devname validation which is done in
next patches.

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