From: Love Hörnquist-Åstrand Date: Wed, 24 Sep 2003 19:54:10 +0000 (+0000) Subject: fsync-wait-typing-mistake-20030924 X-Git-Tag: openafs-devel-1_3_50~51 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5d4f88c5c32a63e368b9750481abf6c37a5bfde9;p=packages%2Fo%2Fopenafs.git fsync-wait-typing-mistake-20030924 FIXES 2155 correct refs to fsync_wait --- diff --git a/src/viced/callback.c b/src/viced/callback.c index ed83da20e..10e8e9ec2 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -1387,7 +1387,7 @@ BreakVolumeCallBacksLater(afs_uint32 volume) #ifdef AFS_PTHREAD_ENV assert(pthread_cond_broadcast(&fsync_cond) == 0); #else - LWP_NoYieldSignal(&fsync_wait); + LWP_NoYieldSignal(fsync_wait); #endif return 0; } diff --git a/src/viced/viced.c b/src/viced/viced.c index 9672ccae9..e9db54da8 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -424,7 +424,7 @@ FiveMinuteCheckLWP() Do_VLRegisterRPC(); /* Force wakeup in case we missed something; pthreads does timedwait */ #ifndef AFS_PTHREAD_ENV - LWP_NoYieldSignal(&fsync_wait); + LWP_NoYieldSignal(fsync_wait); #endif if (printBanner && (++msg & 1)) { /* Every 10 minutes */ time_t now = FT_ApproxTime(); @@ -495,7 +495,7 @@ FsyncCheckLWP() if (code != 0 && code != ETIMEDOUT) ViceLog(0, ("pthread_cond_timedwait returned %d\n", code)); #else /* AFS_PTHREAD_ENV */ - if ((code = LWP_WaitProcess(&fsync_wait)) != LWP_SUCCESS) + if ((code = LWP_WaitProcess(fsync_wait)) != LWP_SUCCESS) ViceLog(0, ("LWP_WaitProcess returned %d\n", code)); #endif /* AFS_PTHREAD_ENV */ ViceLog(2, ("Checking for fsync events\n"));