OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1120-ga6091ca
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Apr 2011 17:30:56 -0700 (PDT)
The following commit has been merged in the master branch:
commit a6091cacd89d430d01145efbcef528d550395f1c
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Apr 16 11:52:57 2011 -0400
ubik: remote: fix DB lock usage
Many of the RPC functions in the remote package have a similar
prologue that makes use of ubik_currentTrans before taking the
DB lock. Take the lock earlier, and rely on the ubik_dbase global
instead of the dbase pointer in ubik_currentTrans.
In GetVersion, take the lock earlier to cover the call to
ubeacon_AmSyncSite.
Change-Id: Ib8480163f2cab2a6ff6a6462cb67fce02f3e8094
Reviewed-on: http://gerrit.openafs.org/4488
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ubik/remote.c | 170 ++++++++++++++++++++++++++---------------------------
1 files changed, 83 insertions(+), 87 deletions(-)
--
OpenAFS Master Repository