OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74-23-g30f2dde

Gerrit Code Review gerrit@openafs.org
Thu, 22 Apr 2010 12:30:49 -0700 (PDT)


The following commit has been merged in the master branch:
commit 30f2dded7340a776f2d41a17cee944ef83665648
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Apr 22 11:54:06 2010 -0500

    Update nextVnodeUnique before checking inUse
    
    When attaching a volume, update the nextVnodeUnique field for the
    volume, before we do any checks on the volume; for example, checking
    inUse, which may result in a demand-salvage if we are running DAFS.
    
    If we do not do this, we can schedule a demand-salvage without setting
    nextVnodeUnique, and VUpdateVolume_r will update the volume header
    uniquifier to nextVnodeUnique+200, when nextVnodeUnique is not set.
    So, we will always set the uniquifier to 200. Fortunately, the salvage
    should usually fix the uniquifer anyway.
    
    So, set nextVnodeUnique before doing any of those checks, to avoid
    screwing up the uniquifier when taking the volume offline.
    
    Change-Id: Ib211bbf5e93efbebcb679259944e7abf211aa6e1
    Reviewed-on: http://gerrit.openafs.org/1809
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

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

-- 
OpenAFS Master Repository