lkml.org 
[lkml]   [2017]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] lightnvm: propagate pblk_init return to userspace
From
Date
On 04/21/2017 05:07 PM, Javier González wrote:
>> On 20 Apr 2017, at 20.23, Rakesh Pandit <rakesh@tuxera.com> wrote:
>>
>> From userspace calling ioctl(NVM_DEV_CREATE) was returning ENOMEM for
>> invalid arguments even though pblk (pblk_init) was returning correctly
>> -EINVAL to nvm_create_tgt inside core. This patch propagates the
>> correct return value to userspace.
>>
>> Because pblk was introduced recently this only needs to go in 4.12.
>>
>> Fixes: a4bd217b4326 ("lightnvm: physical block device (pblk) target")
>> Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
>>
>
> Looks good.
>
> Reviewed-by: Javier González <javier@cnexlabs.com>
>
> Javier
>


Jens, would you pick this up as well? :)

\
 
 \ /
  Last update: 2017-04-21 20:38    [W:0.041 / U:0.144 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site