[SCSI] zfcp: Fix timer initialization for ct and els requests
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 13 Oct 2009 08:44:10 +0000 (10:44 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 22 Oct 2009 00:38:49 +0000 (09:38 +0900)
Add HZ since the start_timer function expects jiffies, not seconds.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_fsf.c

index 5126461..4e41baa 100644 (file)
@@ -1079,7 +1079,7 @@ static int zfcp_fsf_setup_ct_els(struct zfcp_fsf_req *req,
        /* common settings for ct/gs and els requests */
        req->qtcb->bottom.support.service_class = FSF_CLASS_3;
        req->qtcb->bottom.support.timeout = 2 * R_A_TOV;
-       zfcp_fsf_start_timer(req, 2 * R_A_TOV + 10);
+       zfcp_fsf_start_timer(req, (2 * R_A_TOV + 10) * HZ);
 
        return 0;
 }