From 09d4822ebe7e5696244b56efaaf57e72eac82377 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 13 Feb 2004 18:55:36 +0000 Subject: [PATCH] linux-sysname-list-free-sysstate-20040213 required by linux-sysname-list-sys-links-resolve-dentry-20031109 eithout this, if you're in a directory that the second or later entry in a sysname list resolved to, pwd returns ESTALE. force the true path to have its dentry cached. --- src/afs/LINUX/osi_vnodeops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 413a893..7cb1db0 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1141,6 +1141,7 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp) dp->d_op = afs_dops; d_add(dp, AFSTOI(vcp)); + if (sysState.allocked) osi_FreeLargeSpace(sysState.name); #if 0 /* Set up a dentry alias. Should we be doing this for @sys? You only get one for a directory, which would be fine, -- 1.9.4