[lvm-devel] [PATCH 3/3] Fix internal error for errornous regex insert

Alasdair G Kergon agk at redhat.com
Fri Apr 30 11:26:27 UTC 2010


On Fri, Apr 30, 2010 at 11:07:21AM +0200, Zdenek Kabelac wrote:
> Fix error message shown for incorrect regex in config file:
> 'Internal error: _vginfos list should be empty'
> When regex parser fails lvmcache_init() is not invoked - thus
> _vginfos list is not initiliased.
 
If lvmcache_init is not called, neither should lvmcache_destroy be!

Alasdair




More information about the lvm-devel mailing list