Subject: Re: [PATCH V3] lightnvm: if LUNs are already allocated fix return To: Rakesh Pandit , =?UTF-8?Q?Matias_Bj=c3=b8rling?= Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Matias_Bj=c3=b8rling?= , Frans Klaver , =?UTF-8?Q?Javier_Gonz=c3=a1lez?= References: <20170627115531.GA53387@dhcp-216.srv.tuxera.com> From: Jens Axboe Message-ID: Date: Tue, 27 Jun 2017 08:22:31 -0600 MIME-Version: 1.0 In-Reply-To: <20170627115531.GA53387@dhcp-216.srv.tuxera.com> Content-Type: text/plain; charset=utf-8 List-ID: On 06/27/2017 05:55 AM, Rakesh Pandit wrote: > While creating new device with NVM_DEV_CREATE if LUNs are already > allocated ioctl would return -ENOMEM which is wrong. This patch > propagates -EBUSY from nvm_reserve_luns which is correct response. Thanks, applied for 4.13. -- Jens Axboe