From b9effb556fab51649d775a87fc21ae27c0b0fabe Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 14 May 2020 11:39:17 -0700 Subject: [PATCH] test-tool: Fix a comment in sg_send_scsi_cmd() Signed-off-by: Bart Van Assche --- test-tool/iscsi-support.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test-tool/iscsi-support.c b/test-tool/iscsi-support.c index 0965a42..1101daa 100644 --- a/test-tool/iscsi-support.c +++ b/test-tool/iscsi-support.c @@ -288,9 +288,10 @@ sg_send_scsi_cmd(struct scsi_device *sdev, struct scsi_task *task) io_hdr.sbp = sense; io_hdr.mx_sb_len = sense_len; - /* Transfer direction, either in or out. Linux does not yet - support bidirectional SCSI transfers ? - */ + /* + * Transfer direction, either in or out. Support for bidirectional SCSI + * transfers has been removed from the Linux kernel. + */ switch (task->xfer_dir) { case SCSI_XFER_WRITE: io_hdr.dxfer_direction = SG_DXFER_TO_DEV;