scsi: core: Move the result field from struct scsi_request to struct scsi_cmnd

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

Link: https://lore.kernel.org/r/20220224175552.988286-7-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>
This commit is contained in:
Christoph Hellwig
2022-02-24 18:55:50 +01:00
committed by Martin K. Petersen
parent a9a4ea1166
commit dbb4c84d87
9 changed files with 21 additions and 35 deletions

View File

@@ -5,7 +5,6 @@
#include <linux/blk-mq.h>
struct scsi_request {
int result;
int retries;
};