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

Re: [lvm-devel] [PATCH] Also clean up MISSING devices in --removemissing --force



On 12/17/2009 12:03 PM, Petr Rockai wrote:
> this is a simple patch that makes --removemissing --force treat
> MISSING_PV devices the same way as --removemissing (without --force)
> does. This should fix the last bit of RHBZ 537954.

> -		if (pvl->pv->dev)
> +		if (pvl->pv->dev && !(pvl->pv->status & MISSING_PV))
>  			continue;
>  		if (!_remove_pv(vg, pvl, 0))
>  			return_0;

ack.

Milan


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