source: trunk/server/common/patches/openafs-d_drop.patch @ 2591

Last change on this file since 2591 was 2504, checked in by andersk, 10 years ago
OpenAFS: Apply upstream patch for getcwd() ENOENT bug (Scripts #387) This patch from http://gerrit.openafs.org/10774 seems to fix our problem with getcwd() occasionally getting stuck returning ENOENT.
File size: 432 bytes
  • src/afs/LINUX/osi_vnodeops.c

    diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
    index fa0ad91..6059add 100644
    a b afs_linux_dentry_revalidate(struct dentry *dp, int flags) 
    11981198    if (credp)
    11991199        crfree(credp);
    12001200
    1201     if (!valid) {
    1202         shrink_dcache_parent(dp);
    1203         d_drop(dp);
    1204     }
     1201    if (!valid)
     1202        d_invalidate(dp);
     1203
    12051204    return valid;
    12061205
    12071206  bad_dentry:
Note: See TracBrowser for help on using the repository browser.