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

Re: [lvm-devel] [PATCH 26/29] Add stack traces for dev_set/close_immediate error path



On Thu, Nov 25, 2010 at 11:55:30AM +0100, Zdenek Kabelac wrote:
> +	if (!dev_set(dev, UINT64_C(0), (size_t) sectors << SECTOR_SHIFT, value))
> +		stack;
> +
>  	dev_flush(dev);
> -	dev_close_immediate(dev);
> +
> +	if (!dev_close_immediate(dev))
> +                stack;

Ack.

Alasdair


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