lightnvm: use constant name instead of value
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:39:03 +0000 (22:39 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commit98379a12c54974ee5856dcf81781a5dc845505c3
treeba7c87b84b32e1c1ad6534739449efebf34cdcc0
parenteb00352b5213e52419ac7dd8bbd84a1300fe4b5d
lightnvm: use constant name instead of value

There is a constant to refer to free blocks. Use it when marking bad
blocks instead of using a constant value

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/gennvm.c