s390/zfcp_fsf: replace schedule_timeout()
Subsystems (3)
PATCH 1/1 s390/zfcp_fsf: replace schedule_timeout()
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/s390/scsi/zfcp_fsf.c +1 -2
@@ -180,8 +180,7 @@ zfcp_fsf_req_dismiss_all(struct zfcp_adaZFCP_LOG_DEBUG ("fsf req list of adapter %s not yet empty\n" ,zfcp_get_busid_by_adapter (adapter));/* wait for woken intiators to clean up their requests */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (ZFCP_FSFREQ_CLEANUP_TIMEOUT ); +msleep (jiffies_to_msecs (ZFCP_FSFREQ_CLEANUP_TIMEOUT )); }/* consistency check */
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors