]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-synvageserver-no-rx-server-refs-20080401
authorTom Keiser <tkeiser@sinenomine.net>
Tue, 1 Apr 2008 15:12:06 +0000 (15:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Apr 2008 15:12:06 +0000 (15:12 +0000)
LICENSE IPL10
FIXES 92648

remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now

(cherry picked from commit 9bdb8599c094821d0dfb29505cc63aa2a8460ae2)

src/vol/salvsync-server.c

index b28a42f01e54c22cae33285e4b43b5fcb5a5c11f..6de28b87918107321c39cd7f716ff569784f8b3c 100644 (file)
@@ -317,13 +317,6 @@ SALVSYNC_syncThread(void * args)
     (void)signal(SIGPIPE, SIG_IGN);
 #endif
 
-    /* set our 'thread-id' so that the host hold table works */
-    MUTEX_ENTER(&rx_stats_mutex);      /* protects rxi_pthread_hinum */
-    tid = ++rxi_pthread_hinum;
-    MUTEX_EXIT(&rx_stats_mutex);
-    pthread_setspecific(rx_thread_id_key, (void *)tid);
-    Log("Set thread id %d for SALVSYNC_syncThread\n", tid);
-
     state->fd = SYNC_getSock(&state->endpoint);
     code = SYNC_bindSock(state);
     assert(!code);