OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-68-g20217c2

Gerrit Code Review
Wed, 26 Mar 2014 13:31:58 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_6_x branch:
commit 20217c278ef9ed554d4a53686fe867bca0007d3d
Author: Marc Dionne <>
Date:   Wed Mar 19 11:15:13 2014 -0400

    Linux: Do drop dentry if lookup returns ENOENT
    Commit 997f7fce437787a45ae0584beaae43affbd37cce switched to using
    d_invalidate instead of d_drop to prevent unhashing dentries
    which are only temporarily invalid and may still be referenced
    by someone having a current working directory pointing to it.
    This could result in getting ENOENT from getcwd() after some
    transient problems, even when the directory is there and
    The change had the side effect of potentially leaving something
    visible when it has actually been removed, for instance a mountpoint
    removed by "fs rm".
    If afs_lookup returns ENOENT, we want to forcibly drop (unhash)
    the dentry, even if it has current users.
    Tested-by: BuildBot <>
    Reviewed-by: D Brashear <>
    (cherry picked from commit 389473032cf0b200c2c39fd5ace108bdc05c9d97)
    Change-Id: Ifeda5a38a01bc136d3ecef01227ecd354da7cc3e
    Reviewed-by: D Brashear <>
    Tested-by: D Brashear <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Stephan Wiesand <>

 src/afs/LINUX/osi_vnodeops.c |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

OpenAFS Master Repository