diff options
author | Wenwei Tao <ww.tao0320@gmail.com> | 2016-01-12 07:49:15 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 08:21:15 -0700 |
commit | 3cd485b1f8e25a6534eb4c542e7eba1b944fbaaf (patch) | |
tree | 57095214abdef867218f39434ed3ca72870d3263 /firmware/ihex2fw.c | |
parent | 168309855a7d1e16db751e9c647119fe2d2dc878 (diff) |
lightnvm: fix bio submission issue
Put bio when submission fails, since we get it
before submission. And return error when backend
device driver doesn't provide a submit_io method,
thus we can end IO properly.
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>
Diffstat (limited to 'firmware/ihex2fw.c')
0 files changed, 0 insertions, 0 deletions