From: Derrick Brashear Date: Sun, 20 Jan 2002 08:51:43 +0000 (+0000) Subject: STABLE12-linux-remove-hazardous-trace-events-20020120 X-Git-Tag: openafs-stable-1_2_3~37 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=93b08e066b26c66f194dee75fa2978a813f6dd49;p=packages%2Fo%2Fopenafs.git STABLE12-linux-remove-hazardous-trace-events-20020120 use of osi_Sleep in tracing code makes this dangerous. --- diff --git a/src/afs/LINUX/osi_sleep.c b/src/afs/LINUX/osi_sleep.c index bbe94e694..4435c00b3 100644 --- a/src/afs/LINUX/osi_sleep.c +++ b/src/afs/LINUX/osi_sleep.c @@ -224,11 +224,6 @@ void afs_osi_Sleep(char *event) seq = evp->seq; while (seq == evp->seq) { - afs_Trace4(afs_iclSetp, CM_TRACE_SLEEP, - ICL_TYPE_POINTER, evp, - ICL_TYPE_INT32, 0/*count*/, - ICL_TYPE_INT32, seq, - ICL_TYPE_INT32, evp->seq); AFS_ASSERT_GLOCK(); AFS_GUNLOCK(); interruptible_sleep_on(&evp->cond); @@ -285,9 +280,6 @@ void afs_osi_Wakeup(char *event) if (evp->refcount > 1) { evp->seq++; - afs_Trace2(afs_iclSetp, CM_TRACE_WAKE, - ICL_TYPE_POINTER, evp, - ICL_TYPE_INT32, evp->seq); wake_up(&evp->cond); } relevent(evp);