[lkml]   [2016]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] nbd: Fix error handling
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

 \ /
  Last update: 2016-10-30 16:03    [W:0.042 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site