[lvm-devel] LVM2/lib/metadata pv_map.c

Alasdair G Kergon agk at redhat.com
Fri Apr 24 00:30:17 UTC 2009


On Thu, Apr 23, 2009 at 04:41:28PM -0000, mornfall at sourceware.org wrote:
> 	Do not include MISSING_PVs in allocation maps.
 
Ack.

WHATS_NEW ?

> +		assert(pvl->pv->dev);
  
Please don't use 'assert'.  It bypasses our logging mechanisms
and aborts the code making debugging harder.

Use log_error() with an informative message instead, for example.

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list