Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 2984c86 ("nullb: factor disk parameters") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information