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

Re: [dm-devel] [PATCH] DM RAID: Clean-up handling of 'rebuild' device requests



On Nov 28, 2011, at 2:01 PM, Jonathan Brassow wrote:

> dm-raid: Change the way the 'rebuild' parameter is processed.
> 	rdev_for_each(r, t, mddev) {
> -		if (!test_bit(In_sync, &r->flags)) {
> -			if (!test_bit(FirstUse, &r->flags))
> -				DMERR("Superblock area of "
> -				      "rebuild device %d should have been "
> -				      "cleared.", r->raid_disk);
> -			set_bit(FirstUse, &r->flags);
> +		if (!test_bit(In_sync, &r->flags))

Missing '{' - will resend.

 brassow


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