Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bdi: fix wrong error return value in cgwb_create()
On wb_congested_get_create() failure, cgwb_create() forgot to set @ret to -ENOMEM ending up returning 0. Fix it so that it returns -ENOMEM. Signed-off-by: Tejun Heo <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information