OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-384-ge890f09

Gerrit Code Review
Sun, 7 Nov 2010 19:11:52 -0800 (PST)

The following commit has been merged in the master branch:
commit e890f090e11d09b6e6b929642cbd92a56fb6e66e
Author: Andrew Deason <>
Date:   Fri Nov 5 16:48:28 2010 -0500

    vol: Do not give back not-checked-out vols
    VAttachVolumeByName_r has logic to give back a volume over FSSYNC if
    we checked out a volume but failed to attach it for whatever reason.
    However, the logic used for determining if the volume was checked out
    or not is a bit inaccurate (even moreso than the comments imply),
    potentially causing us to VOL_ON volumes that don't exist at all.
    Instead of trying to guess based on various conditions whether or not
    we checked out the volume, keep track of a variable that is only set
    when we actually checkout the volume from the fileserver. Then only
    give back the volume if it is set.
    Change-Id: I03197eca3e1a31a4b9566552eb9032fdc7cc5909
    Tested-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>

 src/vol/volume.c |   48 +++++++++++++++++++++++++-----------------------
 1 files changed, 25 insertions(+), 23 deletions(-)

OpenAFS Master Repository