diff options
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index f6980bd9d8f..12d69d7c857 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -852,7 +852,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd) | |||
852 | "Notifying upper driver of completion " | 852 | "Notifying upper driver of completion " |
853 | "(result %x)\n", cmd->result)); | 853 | "(result %x)\n", cmd->result)); |
854 | 854 | ||
855 | good_bytes = scsi_bufflen(cmd) + cmd->request->extra_len; | 855 | good_bytes = scsi_bufflen(cmd); |
856 | if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { | 856 | if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { |
857 | drv = scsi_cmd_to_driver(cmd); | 857 | drv = scsi_cmd_to_driver(cmd); |
858 | if (drv->done) | 858 | if (drv->done) |