OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1042-g325443e

Gerrit Code Review gerrit@openafs.org
Fri, 8 Apr 2011 06:10:33 -0700 (PDT)


The following commit has been merged in the master branch:
commit 325443e6178f9dcdba7326bdb675447ac72bd540
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Apr 6 16:56:22 2011 -0500

    afsd: Trim trailing slashes on Linux mntent
    
    When we write a mount entry on Linux when mounting /afs, trim trailing
    slashes on the mount path. Otherwise, the umount utility can get
    slightly confused, and leave the /afs mount entry in /etc/mtab after
    it's been unmounted.
    
    For full correctness we should probably completely canonicalize the
    path like the mount utility does, but it's unlikely that anyone will
    provide significantly weird paths for cacheMountDir, so don't bother.
    
    Change-Id: Ie8330f08918d52eee319dff5f6ad275c30164c67
    Reviewed-on: http://gerrit.openafs.org/4442
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afsd/afsd_kernel.c |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository