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

Re: [lvm-devel] [PATCH 20/23] exit if lvmchache_init fails



On Tue, Dec 21, 2010 at 04:41:52PM +0100, Zdenek Kabelac wrote:
>  	reset_locking();
> -	lvmcache_init();
> +	if (!lvmcache_init())
> +		_exit(ECMD_FAILED);
>  	dev_close_all();
  
Ack.

Not ideal, but we actually already have some existing tricky cleanup problems
here that I never fixed, so just add a FIXME "Clean up properly here!" to that
_exit().

Alasdair


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