Re: [PATCH 16/31] scsi: Make scsi_ioctl_reset() pass the request queue pointer to blk_rq_init()

2017-05-24 Thread Hannes Reinecke
On 05/24/2017 02:34 AM, Bart Van Assche wrote: > A later patch will add a call to a request initialization function > into blk_rq_init(). Hence make sure that all blk_rq_init() calls > specify the request queue pointer. Since TMF callback functions in > SCSI LLD drivers do not use request.q, this

[PATCH 16/31] scsi: Make scsi_ioctl_reset() pass the request queue pointer to blk_rq_init()

2017-05-23 Thread Bart Van Assche
A later patch will add a call to a request initialization function into blk_rq_init(). Hence make sure that all blk_rq_init() calls specify the request queue pointer. Since TMF callback functions in SCSI LLD drivers do not use request.q, this patch does not change the behavior of any SCSI driver.