[SCSI] scsi_error: fix indentation and braces disagreement - add braces
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 30 Oct 2008 11:00:57 +0000 (13:00 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:14 +0000 (11:24 -0600)
...and the list of recent breakage goes on and on, this time
it's 242f9dcb8ba6f (block: unify request timeout handling)
which broke it.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_error.c

index edfaf241c5ba1dca4e3f3b0a75e8b2a6d4bee89f..f5767dc48d61a564224b376be71002184af23d9c 100644 (file)
@@ -136,7 +136,7 @@ enum blk_eh_timer_return scsi_times_out(struct request *req)
        else
                eh_timed_out = NULL;
 
-       if (eh_timed_out)
+       if (eh_timed_out) {
                rtn = eh_timed_out(scmd);
                switch (rtn) {
                case BLK_EH_NOT_HANDLED:
@@ -144,6 +144,7 @@ enum blk_eh_timer_return scsi_times_out(struct request *req)
                default:
                        return rtn;
                }
+       }
 
        if (unlikely(!scsi_eh_scmd_add(scmd, SCSI_EH_CANCEL_CMD))) {
                scmd->result |= DID_TIME_OUT << 16;