OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-139-ge42e091

Gerrit Code Review gerrit@openafs.org
Tue, 16 Mar 2010 17:57:18 -0700 (PDT)


The following commit has been merged in the master branch:
commit e42e0912d774cbfc309250052631c6e60c83164d
Author: Ben Kaduk <kaduk@mit.edu>
Date:   Tue Mar 16 17:07:04 2010 -0400

    Avoid panic on shutdown with memcache and INVARIANTS
    
    When running with memcache, the filesystem cache is not initialized,
    so the file-local struct vnode *volumeVnode is never set to non-NULL.
    However, shutdown_cache() unconditionally calls vrele(volumeVnode),
    which triggers a KASSERT that the argument to vrele() is non-NULL.
    For certain kernel configurations, this results in a panic.
    Change this so that vrele() is only conditionally called if the
    volumeVnode is non-NULL.
    
    Change-Id: I80235f0d45ae11f26e9a09854bb34439f89bbb40
    Reviewed-on: http://gerrit.openafs.org/1576
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_init.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository