diff options
author | 2014-08-13 20:49:52 -0700 | |
---|---|---|
committer | 2014-09-10 11:59:06 +0400 | |
commit | 255939e783d8f45f8c58487dfc18957c44ea9871 (patch) | |
tree | b0d0c8e422e09fa79d0deb9ee2292b6e4cc3e856 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: avoid format-security warning inside alloc_workqueue() (diff) | |
download | linux-rng-255939e783d8f45f8c58487dfc18957c44ea9871.tar.xz linux-rng-255939e783d8f45f8c58487dfc18957c44ea9871.zip |
rbd: fix error return code in rbd_dev_device_setup()
Fix to return -ENOMEM from the workqueue alloc error handling
case instead of 0, as done elsewhere in this function.
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions