OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-842-gad63745
Gerrit Code Review
gerrit@openafs.org
Sun, 6 Mar 2011 10:09:26 -0800 (PST)
The following commit has been merged in the master branch:
commit ad63745f357e377c613881fa3470b85d4d36fe36
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sat Jan 29 12:48:02 2011 -0500
ubik: cleanup DB lock usage in SDISK_SendFile
Some failure paths can return from SDISK_SendFile with the
database lock still held. Other failure paths will cause
setlabel to be called without holding the lock.
Rework the failure paths so we always release the DB lock before
returning, and always hold it when calling setlabel.
Change-Id: I4cf98ecc9874110273e2cb4f94c37bdb9b43f0a2
Reviewed-on: http://gerrit.openafs.org/4151
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ubik/remote.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository