diff options
| author | Rakesh Pandit <[email protected]> | 2017-06-27 14:55:33 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-06-27 08:22:09 -0600 |
| commit | 12e9a6d62236dacb87a6b2dd84dd9c29bb5be1de (patch) | |
| tree | c5bd791aa194772ec7eca4c1842b0d81cdeed2d3 /scripts/gdb | |
| parent | 588726d3ec68b66be2e2881d2b85060ff383078a (diff) | |
lightnvm: if LUNs are already allocated fix return
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.
Fixes: ade69e243 ("lightnvm: merge gennvm with core")
Reviewed-by: Frans Klaver <[email protected]>
Signed-off-by: Rakesh Pandit <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions