Wei Yongjun 30c516d750 nullb: fix error return code in null_init()
Fix to return error code -ENOMEM from the null_alloc_dev() error
handling case instead of 0, as done elsewhere in this function.

Fixes: 2984c8684f96 ("nullb: factor disk parameters")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-10-17 08:25:06 -06:00
..
2017-09-25 08:56:05 -06:00
2017-09-07 21:11:05 -07:00
2017-09-26 12:07:24 -06:00
2017-09-26 07:41:22 -06:00
2017-08-24 22:28:57 -04:00
2017-09-25 08:56:05 -06:00
2017-02-20 12:16:15 +01:00
2017-08-18 08:45:29 -06:00