Re: [PATCH] null_blk: Fix error path in module initialization

2015-12-08 Thread Minfei Huang
On 12/08/15 at 01:48pm, Jens Axboe wrote: > On 12/08/2015 05:35 AM, Minfei Huang wrote: > >Ping. > > > >Any comment is appreciate. > > Applied, it is indeed pretty broken after the lightnvm update. > I killed the use_lightnvm check before kmem_cache_destroy, that's > not needed. Agreed. Thanks M

Re: [PATCH] null_blk: Fix error path in module initialization

2015-12-08 Thread Jens Axboe
On 12/08/2015 05:35 AM, Minfei Huang wrote: Ping. Any comment is appreciate. Applied, it is indeed pretty broken after the lightnvm update. I killed the use_lightnvm check before kmem_cache_destroy, that's not needed. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH] null_blk: Fix error path in module initialization

2015-12-08 Thread Minfei Huang
Ping. Any comment is appreciate. Thanks Minfei On 11/26/15 at 09:48P, Minfei Huang wrote: > From: Minfei Huang > > Module couldn't release resource properly during the initialization. To > fix this issue, we will clean up the proper resource before returning. > > Signed-off-by: Minfei Huang