Re: [PATCH] nbd: Fix error handling

From: Jens Axboe
Date: Sun Oct 30 2016 - 11:03:38 EST


On 10/29/2016 10:28 PM, Christophe JAILLET wrote:
'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")

Applied, thanks.

--
Jens Axboe