lightnvm: use flags in rrpc_get_blk
authorWenwei Tao <ww.tao0320@gmail.com>
Sun, 6 Dec 2015 10:25:43 +0000 (11:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 7 Dec 2015 16:14:19 +0000 (09:14 -0700)
commitf27a62995330fdc5f804acf2ebf1444f9025c879
treeae95c62bcce8b8ca5d10cc28882f8db4e5564492
parent43d1c0eb7e11919f85200d2fce211173526f7304
lightnvm: use flags in rrpc_get_blk

rrpc_get_blk use constant 0 as the input parameter
of nvm_get_blk, this may result in getting gc block
failed unexpectedly.

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