diff options
author | Matias Bjørling <matias@cnexlabs.com> | 2017-02-15 16:25:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-15 16:27:19 +0100 |
commit | 0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f (patch) | |
tree | a1e8f48934b75dd5e7e0cd9f6c292c82f24be26b /block/sed-opal.c | |
parent | Maintainers: Modify SED list from nvme to block (diff) | |
download | linux-0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f.tar.xz linux-0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f.zip |
lightnvm: fix off-by-one error on target initialization
If one specifies the end lun id to be the absolute number of luns,
without taking zero indexing into account, the lightnvm core will pass
the off-by-one end lun id to target creation, which then panics during
nvm_ioctl_dev_create.
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/sed-opal.c')
0 files changed, 0 insertions, 0 deletions