提交 07d4b02d 编写于 作者: B Bart Van Assche 提交者: Jens Axboe

ide-floppy: Use blk_rq_is_scsi()

This patch does not change any functionality.
Signed-off-by: NBart Van Assche <bart.vanassche@wdc.com>
Acked-by: NDavid S. Miller <davem@davemloft.net>
Reviewed-by: NHannes Reinecke <hare@suse.com>
Cc: linux-ide@vger.kernel.org
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 6d2cf6f2
...@@ -72,7 +72,7 @@ static int ide_floppy_callback(ide_drive_t *drive, int dsc) ...@@ -72,7 +72,7 @@ static int ide_floppy_callback(ide_drive_t *drive, int dsc)
drive->failed_pc = NULL; drive->failed_pc = NULL;
if (pc->c[0] == GPCMD_READ_10 || pc->c[0] == GPCMD_WRITE_10 || if (pc->c[0] == GPCMD_READ_10 || pc->c[0] == GPCMD_WRITE_10 ||
(req_op(rq) == REQ_OP_SCSI_IN || req_op(rq) == REQ_OP_SCSI_OUT)) blk_rq_is_scsi(rq))
uptodate = 1; /* FIXME */ uptodate = 1; /* FIXME */
else if (pc->c[0] == GPCMD_REQUEST_SENSE) { else if (pc->c[0] == GPCMD_REQUEST_SENSE) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册