linux-sysname-list-free-sysstate-20040213
authorDerrick Brashear <shadow@dementia.org>
Fri, 13 Feb 2004 18:55:36 +0000 (18:55 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 13 Feb 2004 18:55:36 +0000 (18:55 +0000)
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

index 413a893..7cb1db0 100644 (file)
@@ -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,