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

Re: [dm-devel] [PATCH -next] dm cache: fix error return code in cache_create()



On Fri, Apr 19, 2013 at 01:11:30PM +0800, Wei Yongjun wrote:
> Fix to return -ENOMEM in the memory alloc error handing
> cases instead of 0, as done elsewhere in this function.
 
Otherwise it dereferences a NULL pointer...

Queued.

Alasdair


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