summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_driver.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-06-28 11:58:42 +0200
committerChristoph Hellwig <hch@lst.de>2014-07-17 22:11:27 +0200
commit3868cf8ea70a57fc3f927872d8296f287ce4b96a (patch)
treec663a5fa31a457fe4b6597082ae8efbeb381045d /include/scsi/scsi_driver.h
parent635d98b1d0cfc2ba3426a701725d31a6102c059a (diff)
downloadblackbird-op-linux-3868cf8ea70a57fc3f927872d8296f287ce4b96a.tar.gz
blackbird-op-linux-3868cf8ea70a57fc3f927872d8296f287ce4b96a.zip
scsi: restructure command initialization for TYPE_FS requests
We should call the device handler prep_fn for all TYPE_FS requests, not just simple read/write calls that are handled by the disk driver. Restructure the common I/O code to call the prep_fn handler and zero out the CDB, and just leave the call to scsi_init_io to the ULDs. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include/scsi/scsi_driver.h')
-rw-r--r--include/scsi/scsi_driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_driver.h b/include/scsi/scsi_driver.h
index 36c4114ed9bc..009d2ae91a52 100644
--- a/include/scsi/scsi_driver.h
+++ b/include/scsi/scsi_driver.h
@@ -30,6 +30,5 @@ extern int scsi_register_interface(struct class_interface *);
class_interface_unregister(intf)
int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req);
-int scsi_setup_fs_cmnd(struct scsi_device *sdev, struct request *req);
#endif /* _SCSI_SCSI_DRIVER_H */
OpenPOWER on IntegriCloud