lightnvm: fix missing grown bad block type
authorMatias Bjørling <m@bjorling.me>
Tue, 12 Jan 2016 06:49:32 +0000 (07:49 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 15:21:17 +0000 (08:21 -0700)
commitb5d4acd4cbf5029a2616084d9e9f392046d53a37
tree464732fda2eee2b2f08d66b5241e998b36b65288
parentd7a64d275b39e19c010cdfd8728cc64f14b59bda
lightnvm: fix missing grown bad block type

The get/set bad block interface defines good block, factory bad block,
grown bad block, device reserved block, and host reserved block.
Unfortunately the grown bad block was missing, leaving the offsets wrong
for device and host side reserved blocks.

This patch adds the missing type and corrects the offsets.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/lightnvm.h