diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r--[-rwxr-xr-x] | drivers/scsi/mvsas.c | 0 | ||||
-rw-r--r-- | drivers/scsi/scsi.c | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mvsas.c b/drivers/scsi/mvsas.c index 5ec0665b3a3d..5ec0665b3a3d 100755..100644 --- a/drivers/scsi/mvsas.c +++ b/drivers/scsi/mvsas.c diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index fecba05b4e77..e5c6f6af8765 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -757,7 +757,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd) "Notifying upper driver of completion " "(result %x)\n", cmd->result)); - good_bytes = scsi_bufflen(cmd); + good_bytes = scsi_bufflen(cmd) + cmd->request->extra_len; if (cmd->request->cmd_type != REQ_TYPE_BLOCK_PC) { drv = scsi_cmd_to_driver(cmd); if (drv->done) |