Re: [PATCH 1/2] Create, Build: use default_layout()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux