diff options
author | 2016-10-30 05:28:27 +0100 | |
---|---|---|
committer | 2016-11-06 14:14:59 -0700 | |
commit | 772918524dfb8c8869120728c1b1109a2d49493c (patch) | |
tree | 387018dd45b281964a3f1c64766b3efb98a784fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.9-rc4 (diff) | |
download | wireguard-linux-772918524dfb8c8869120728c1b1109a2d49493c.tar.xz wireguard-linux-772918524dfb8c8869120728c1b1109a2d49493c.zip |
nbd: Fix error handling
'blk_mq_alloc_request()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.
Fixes: fd8383fd88a2 ("nbd: convert to blkmq")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions