]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/scsi/libfc/fc_rport.c
libfc: XenServer fails to mount root filesystem.
[karo-tx-linux.git] / drivers / scsi / libfc / fc_rport.c
index 83aa1efec875999d5c980ab27dcb93cfc71e734c..d518d17e940fc16691e48e9b1f662659716a1145 100644 (file)
@@ -582,7 +582,7 @@ static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp)
 static void fc_rport_error_retry(struct fc_rport_priv *rdata,
                                 struct fc_frame *fp)
 {
-       unsigned long delay = FC_DEF_E_D_TOV;
+       unsigned long delay = msecs_to_jiffies(FC_DEF_E_D_TOV);
 
        /* make sure this isn't an FC_EX_CLOSED error, never retry those */
        if (PTR_ERR(fp) == -FC_EX_CLOSED)