On 1/30/19 1:44 AM, Hannes Reinecke wrote:
The 'response' buffer from bsg is mapped onto the SCSI sense buffer,
however after commit 82ed4db499b8 we need to allocate them ourselves
as the bsg queue is _not_ a SCSI queue, and hence the sense buffer
won't be allocated from the scsi stack.

Fixes: 82ed4db499b8 ("block: split scsi_request out of struct request")

Since this patch fixes a bug introduced in kernel v4.11, should this patch have a "Cc: stable" tag? Anyway:

Reviewed-by: Bart Van Assche <[email protected]>

Reply via email to