From: Derrick Brashear Date: Fri, 13 Feb 2004 18:55:36 +0000 (+0000) Subject: linux-sysname-list-free-sysstate-20040213 X-Git-Tag: openafs-devel-1_3_60~97 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=09d4822ebe7e5696244b56efaaf57e72eac82377;p=packages%2Fo%2Fopenafs.git 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. --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 413a893ca..7cb1db04a 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,