lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130820124639.5d75f837@notabene.brown>
Date:	Tue, 20 Aug 2013 12:46:39 +1000
From:	NeilBrown <neilb@...e.de>
To:	Dave Jones <davej@...hat.com>
Cc:	linux-raid@...r.kernel.org,
	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Fix apparent cut-and-paste error in super_90_validate

On Mon, 19 Aug 2013 22:26:32 -0400 Dave Jones <davej@...hat.com> wrote:

> Setting a variable to itself probably wasn't the intention here.

Probably not, no.

Applied, thanks.

NeilBrown


> 
> Signed-off-by: Dave Jones <davej@...oraproject.org>
> 
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 9f13e13..b9cb9e4 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -1180,7 +1180,7 @@ static int super_90_validate(struct mddev *mddev, struct md_rdev *rdev)
>  			mddev->bitmap_info.offset =
>  				mddev->bitmap_info.default_offset;
>  			mddev->bitmap_info.space =
> -				mddev->bitmap_info.space;
> +				mddev->bitmap_info.default_space;
>  		}
>  
>  	} else if (mddev->pers == NULL) {


Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ