[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <x49ha40o4al.fsf@segfault.boston.devel.redhat.com>
Date: Wed, 04 Jun 2014 15:36:34 -0400
From: Jeff Moyer <jmoyer@...hat.com>
To: Joe Lawrence <joe.lawrence@...atus.com>
Cc: <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH v2 1/2] block,scsi: verify return pointer from blk_get_request
Joe Lawrence <joe.lawrence@...atus.com> writes:
> The blk-core dead queue checks introduce an error scenario to
> blk_get_request that returns NULL if the request queue has been
> shutdown. This affects the behavior for __GFP_WAIT callers, who should
> verify the return value before dereferencing.
>
> Signed-off-by: Joe Lawrence <joe.lawrence@...atus.com>
> Acked-by: Jiri Kosina <jkosina@...e.cz> [for pktdvd]
> Acked-by: Jeff Moyer <jmoyer@...hat.com>
> Reviewed-by: Jeff Moyer <jmoyer@...hat.com>
Heh. Just reviewed by would be better. ;-) I'm sure Jens can sort
that out.
-Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists