scsi: core: Move the resid_len field from struct scsi_request to struct scsi_cmnd
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Feb 2022 17:55:49 +0000 (18:55 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 28 Feb 2022 03:27:59 +0000 (22:27 -0500)
commit7d9c1a42eb124db0a7002b72ffebf7df254e716f
treee79c50efd91bb49c09cbbb62c1d7be437f32509e
parent29a485d98406e380a4a46a48ad8f8d201a16e5a9
scsi: core: Move the resid_len field from struct scsi_request to struct scsi_cmnd

Prepare for removing the scsi_request structure by moving the resid_len
field to struct scsi_cmnd.

Link: https://lore.kernel.org/r/20220224175552.988286-6-hch@lst.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_bsg.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_ioctl.c
drivers/scsi/scsi_lib.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/target/target_core_pscsi.c
include/scsi/scsi_cmnd.h
include/scsi/scsi_request.h