Commit 8ef7fe4b authored by Jianchao Wang's avatar Jianchao Wang Committed by Martin K. Petersen

scsi: core: fix two wrong indentation cases

No functional changes. Just fix two wrong indentation cases in
scsi_finish_command and scsi_decide_disposition.
Signed-off-by: default avatarJianchao Wang <jianchao.w.wang@oracle.com>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent edd066a1
...@@ -231,7 +231,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd) ...@@ -231,7 +231,7 @@ void scsi_finish_command(struct scsi_cmnd *cmd)
"(result %x)\n", cmd->result)); "(result %x)\n", cmd->result));
good_bytes = scsi_bufflen(cmd); good_bytes = scsi_bufflen(cmd);
if (!blk_rq_is_passthrough(cmd->request)) { if (!blk_rq_is_passthrough(cmd->request)) {
int old_good_bytes = good_bytes; int old_good_bytes = good_bytes;
drv = scsi_cmd_to_driver(cmd); drv = scsi_cmd_to_driver(cmd);
if (drv->done) if (drv->done)
......
...@@ -1894,7 +1894,7 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) ...@@ -1894,7 +1894,7 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd)
} }
return FAILED; return FAILED;
maybe_retry: maybe_retry:
/* we requeue for retry because the error was retryable, and /* we requeue for retry because the error was retryable, and
* the request was not marked fast fail. Note that above, * the request was not marked fast fail. Note that above,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment