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 15:01:17 +0000 (08:01 -0700)
commitafd2c3f2ef875e9bdf7d8906ec512a73735804db
treeba7c87b84b32e1c1ad6534739449efebf34cdcc0
parent4cb7ee97f4a691222e61cf9c2bfea6f880b1fbfe
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