summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMatias Bjørling <matias@cnexlabs.com>2017-02-15 16:25:32 +0100
committerJens Axboe <axboe@fb.com>2017-02-15 08:27:19 -0700
commit0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f (patch)
treea1e8f48934b75dd5e7e0cd9f6c292c82f24be26b /kernel
parent0222967ba05a0a0f845f7dd54fb3da82afae024d (diff)
downloadlinux-0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f.tar.gz
linux-0e5ffd1cb5f7ce19f23cc829d5dc3ebb1491570f.tar.bz2
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 'kernel')
0 files changed, 0 insertions, 0 deletions