diff options
author | 2015-06-05 06:20:51 +0900 | |
---|---|---|
committer | 2015-06-04 15:21:43 -0600 | |
commit | 5857cd637bc0d60dc7e37af396b01324f199d89b (patch) | |
tree | 7bb918bb9eebec7a03250d5fa74fa5814d1a9a83 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | buffer: remove unusued 'ret' variable (diff) | |
download | linux-dev-5857cd637bc0d60dc7e37af396b01324f199d89b.tar.xz linux-dev-5857cd637bc0d60dc7e37af396b01324f199d89b.zip |
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 <tj@kernel.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions