OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-120-g7a7e971

Gerrit Code Review gerrit@openafs.org
Tue, 7 Jun 2011 09:24:08 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 7a7e9719f03ca705ab3d25c8b9ba883d425913aa
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Fri Apr 1 13:43:13 2011 -0500

    afs: Retry unlock after afs_StoreAllSegments
    
    HandleFlock calls afs_StoreAllSegments when unlocking an exclusive
    flock lock. This can drop the write lock on avc, so we must
    effectively retry the entire lock operation again, since the world may
    have changed while we were waiting to reacquire the lock on avc. So,
    retry once all of the lock checks up to that point, to ensure that a
    lock on the file actually still exists.
    
    FIXES 125446
    
    Reviewed-on: http://gerrit.openafs.org/4393
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 601fcf1d7f7c88cfc0ffd877c5458340b3e59098)
    
    Change-Id: I8b12175bfd082f7fb75e7cfc1fb0e7662912e6e8
    Reviewed-on: http://gerrit.openafs.org/4435
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/VNOPS/afs_vnop_flock.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository