Re: [PATCH scsi] Add NULL checking of return value fromscsi_cmd_to_driver()

From: James Bottomley
Date: Fri Sep 28 2012 - 03:48:14 EST


On Thu, 2012-09-27 at 13:41 -0400, Martin K. Petersen wrote:
> >>>>> "James" == James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> writes:
>
> >> I'm fine with having the eh action be triggered for FS requests only,
> >> if that's what you're asking?
>
> James> Sort of ... I was thinking do it for all non REQ_TYPE_BLOCK_PC
> James> commands (which includes flush and other strange types), but if
> James> you think it should only be for REQ_TYPE_FS, that's fine too.
>
> I'm ok either way.

OK, let's mirror the code in scsi.c then, so != REQ_TYPE_BLOCK_PC.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/