diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-18 00:49:41 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 12:54:45 -0500 |
commit | 13b53b443482623d33fd9446289d320e1c719f02 (patch) | |
tree | ce987e03335e3cc34f2d0cd47f9769af56476bde /drivers/scsi/st.h | |
parent | d0e1ae31be226e83cdd0684625bf1535518ee0d3 (diff) |
[SCSI] st: add st_scsi_execute helper function
st_scsi_execute is a helper function to perform SCSI commands
involving data transfer between user and kernel space (st_read and
st_write).
It's the future plan to combine this with st_scsi_kern_execute helper
function.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Kai Makisara <Kai.Makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/st.h')
-rw-r--r-- | drivers/scsi/st.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h index 74748abe8246..77302fa8608a 100644 --- a/drivers/scsi/st.h +++ b/drivers/scsi/st.h | |||
@@ -29,6 +29,7 @@ struct st_request { | |||
29 | int result; | 29 | int result; |
30 | struct scsi_tape *stp; | 30 | struct scsi_tape *stp; |
31 | struct completion *waiting; | 31 | struct completion *waiting; |
32 | struct bio *bio; | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | /* The tape buffer descriptor. */ | 35 | /* The tape buffer descriptor. */ |