OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-26-gb90f32d

Gerrit Code Review
Tue, 11 May 2010 12:22:07 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit b90f32d8cac7d2e5185e75740b0cf167d370ddb4
Author: Andrew Deason <>
Date:   Thu Apr 29 17:47:15 2010 -0500

    Solaris: prevent AFS umount while busy
    Return EBUSY from unmount if someone still references stuff in AFS.
    This prevents kernel panics that can occur on shutdown if we umount
    while there is a file in AFS open. Normally a process can hold a file
    in AFS open, AFS is unmounted, and the file is closed, triggering our
    code which explodes if called after we're unmounted.
    This adds VFS_HOLD/VFS_RELE calls whenever we 'create' a vcache, or
    retire an old one, to keep track if anyone has an open reference to
    Reviewed-by: Derrick Brashear <>
    Tested-by: Derrick Brashear <>
    (cherry picked from commit fc8ab5cfd6592f9a9df24706a8f5dcc1e41f2b33)
    Change-Id: I3e5d8c84f113d6054d687ef2eccfe68c9d2f01d1
    Tested-by: Andrew Deason <>
    Reviewed-by: Derrick Brashear <>

 src/afs/SOLARIS/osi_machdep.h  |   18 +++++++++++++++++-
 src/afs/SOLARIS/osi_vfsops.c   |   14 ++++++++++++++
 src/afs/SOLARIS/osi_vnodeops.c |    4 ++++
 src/afs/afs_vcache.c           |    8 ++++++++
 4 files changed, 43 insertions(+), 1 deletions(-)

OpenAFS Master Repository