diff options
author | Rakesh Pandit <[email protected]> | 2017-04-20 21:23:56 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-04-21 12:40:41 -0600 |
commit | 8d77bb8276062ff2d991bec71389520dd0156cc3 (patch) | |
tree | e2367341fba648d341aa0d11ca1408b944189836 /scripts/gdb/linux/proc.py | |
parent | abc25a693091e61537e40dfe24e8ee5deaf08208 (diff) |
lightnvm: propagate pblk_init return to userspace
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions