summaryrefslogtreecommitdiff
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-07-07 09:54:21 +0200
committerJens Axboe <axboe@fb.com>2016-07-07 08:51:52 -0600
commit24d4a7d721484498462bc3117d6d5c88ca623574 (patch)
tree29394f10806cb19858cdae66d87f7509fdd2805d /include/linux/lightnvm.h
parent855cdd2c0bff7dcf9337734dc5749d127ca05086 (diff)
lightnvm: fix lun offset calculation for mark blk
The gen_mark_blk_bad function marks the wrong block when a block is on a different channel. Fix the index calculation, so that it updates the correct block. Reported-by: Javier Gonzalez <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/lightnvm.h')
0 files changed, 0 insertions, 0 deletions