Re: [PATCH v2 1/2] nbd: nbd_reset() call in nbd_dev_add() is redundant

2017-05-30 Thread Jens Axboe
On 05/23/2017 09:49 AM, Ilya Dryomov wrote:
> There is nothing to clear -- nbd_device has just been allocated.
> Fold nbd_reset() into its other caller, nbd_config_put().

Added 1+2 for 4.12.

-- 
Jens Axboe



Re: [PATCH v2 1/2] nbd: nbd_reset() call in nbd_dev_add() is redundant

2017-05-30 Thread Josef Bacik
On Tue, May 23, 2017 at 05:49:54PM +0200, Ilya Dryomov wrote:
> There is nothing to clear -- nbd_device has just been allocated.
> Fold nbd_reset() into its other caller, nbd_config_put().
> 
> Signed-off-by: Ilya Dryomov 

Reviewed-by: Josef Bacik 

Thanks,

Josef