lightnvm: put bio before return
authorWenwei Tao <ww.tao0320@gmail.com>
Thu, 4 Feb 2016 14:13:23 +0000 (15:13 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 4 Feb 2016 16:19:45 +0000 (09:19 -0700)
commit16c6d048d7b74249a4387700887e8adb13028866
treecd8905aa92e727bf11e4cdfcf83cd2f6f241e615
parente502fb8f8801c9561c57397e7fd917187762324e
lightnvm: put bio before return

The bio is not returned if the data page cannot be allocated.

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