diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-15 20:55:53 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-16 18:06:34 +0200 |
commit | 1c6286f26301ad154a1c10fb6e68925493dd28ba (patch) | |
tree | 4436b5565dd06b552fbf36a3ec37049e0825f332 /drivers/block/sunvdc.c | |
parent | lightnvm: fix some WARN() messages (diff) | |
download | linux-1c6286f26301ad154a1c10fb6e68925493dd28ba.tar.xz linux-1c6286f26301ad154a1c10fb6e68925493dd28ba.zip |
lightnvm: fix some error code in pblk-init.c
There were a bunch of places in pblk_lines_init() where we didn't set an
error code. And in pblk_writer_init() we accidentally return 1 instead
of a correct error code, which would result in a Oops later.
Fixes: 11a5d6fdf919 ("lightnvm: physical block device (pblk) target")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/sunvdc.c')
0 files changed, 0 insertions, 0 deletions