lightnvm: put blks when luns configure failed
authorWenwei Tao <ww.tao0320@gmail.com>
Sun, 6 Dec 2015 10:25:44 +0000 (11:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 16:14:19 +0000 (09:14 -0700)
commitd3d1a43842077c53e22dedaebfe7cb52022b18e1
treee3b272ed79232f4ffc8af6dff327a48f143ab70a
parentf27a62995330fdc5f804acf2ebf1444f9025c879
lightnvm: put blks when luns configure failed

Put the allocated blocks back to the free list
when the luns configure failed, to make these
blocks useable to others.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/rrpc.c