Re: [PATCH] DDF: fix bug in compare_super_ddf

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

 



On Tue, 23 Apr 2013 20:10:16 +0200 mwilck@xxxxxxxx wrote:

> Fix bug in previous patch
> "DDF: compare_super_ddf: merge local info of other superblock"
> 
> Just discovered this bug in my last patch set - unfortunately, just after
> you committed it.

Life's like that sometimes :-)

Applied- thanks.
NeilBrown


> 
> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
> ---
>  super-ddf.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/super-ddf.c b/super-ddf.c
> index 455f0f8..ea8439b 100644
> --- a/super-ddf.c
> +++ b/super-ddf.c
> @@ -3514,7 +3514,7 @@ static int compare_super_ddf(struct supertype *st, struct supertype *tst)
>  
>  		vl1->next = first->conflist;
>  		vl1->block_sizes = NULL;
> -		if (vl1->conf.sec_elmnt_count > 1) {
> +		if (vl2->conf.sec_elmnt_count > 1) {
>  			vl1->other_bvds = xcalloc(vl2->conf.sec_elmnt_count - 1,
>  						  sizeof(struct vd_config *));
>  		} else

Attachment: signature.asc
Description: PGP signature


[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