STABLE14-openafs-sleep-20050726

tsleep on "afsslp" in afs_osi_Sleep


(cherry picked from commit 575cbd4a2f231f7bcaaf92a356afa61a4ae170dc)
This commit is contained in:
Jim Rees 2005-07-28 22:48:35 +00:00 committed by Derrick Brashear
parent 202c4ea660
commit 40b2927a58

View File

@ -115,17 +115,14 @@ afs_osi_Sleep(void *event)
{ {
AFS_ASSERT_GLOCK(); AFS_ASSERT_GLOCK();
AFS_GUNLOCK(); AFS_GUNLOCK();
tsleep(event, PVFS, "afs", 0); tsleep(event, PVFS, "afsslp", 0);
AFS_GLOCK(); AFS_GLOCK();
} }
int int
afs_osi_SleepSig(void *event) afs_osi_SleepSig(void *event)
{ {
AFS_ASSERT_GLOCK(); afs_osi_Sleep(event);
AFS_GUNLOCK();
tsleep(event, PVFS, "afs", 0);
AFS_GLOCK();
return 0; return 0;
} }