Commit 82a9ac7130cf51c2640800fb0ef19d3a05cb8fff
Committed by
Martin K. Petersen
1 parent
10fd71780f
scsi: core: fix missing .cleanup_rq for SCSI hosts without request batching
This was missing from scsi_mq_ops_no_commit of linux-next commit 8930a6c20791 ("scsi: core: add support for request batching") from Martin's scsi/5.4/scsi-queue or James' scsi/misc. See also linux-next commit b7e9e1fb7a92 ("scsi: implement .cleanup_rq callback") from block/for-next. Signed-off-by: Steffen Maier <maier@linux.ibm.com> Fixes: 8930a6c20791 ("scsi: core: add support for request batching") Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Ming Lei <ming.lei@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/scsi/scsi_lib.c
... | ... | @@ -1834,6 +1834,7 @@ |
1834 | 1834 | .init_request = scsi_mq_init_request, |
1835 | 1835 | .exit_request = scsi_mq_exit_request, |
1836 | 1836 | .initialize_rq_fn = scsi_initialize_rq, |
1837 | + .cleanup_rq = scsi_cleanup_rq, | |
1837 | 1838 | .busy = scsi_mq_lld_busy, |
1838 | 1839 | .map_queues = scsi_map_queues, |
1839 | 1840 | }; |