summaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions
th>387018dd45b281964a3f1c64766b3efb98a784fc parentbc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff)
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