Skip to content

Commit

Permalink
[SCSI] zfcp: fix initialization of FSF timer
Browse files Browse the repository at this point in the history
Correctly initialize the timer for FSF requests with jiffies + timeout.

Cc: Swen Schillig <swen@vnet.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Christof Schmitt authored and James Bottomley committed Apr 1, 2007
1 parent 665db93 commit 9e3738f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/scsi/zfcp_erp.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ void zfcp_fsf_start_timer(struct zfcp_fsf_req *fsf_req, unsigned long timeout)
{
fsf_req->timer.function = zfcp_fsf_request_timeout_handler;
fsf_req->timer.data = (unsigned long) fsf_req->adapter;
fsf_req->timer.expires = timeout;
fsf_req->timer.expires = jiffies + timeout;
add_timer(&fsf_req->timer);
}

Expand Down

0 comments on commit 9e3738f

Please sign in to comment.