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

Milan Broz mbroz at redhat.com
Thu Dec 17 13:49:06 UTC 2009


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




More information about the lvm-devel mailing list