On 1/20/22 07:18, Mariusz Tkaczyk wrote: > This code is duplicated for Build mode so make default_layout() extern > and use it. Simplify the function structure. > > It introduced change for Build mode, now for raid0 RAID0_ORIG_LAYOUT > will be returned same as for Create. > > Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxxxxxxxx> > --- > Build.c | 23 +------------------ > Create.c | 67 ++++++++++++++++++++++++++++++++++---------------------- > mdadm.h | 1 + > 3 files changed, 43 insertions(+), 48 deletions(-) Looks good, applied! Thanks, Jes