From: Derrick Brashear Date: Tue, 2 Apr 2002 03:12:24 +0000 (+0000) Subject: STABLE12-revert-part-of-linux-dcache-inconsistency-fix-20020115 X-Git-Tag: openafs-stable-1_2_4~76 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ddc3017c759b855416fe613aa5c205d56f804a32;p=packages%2Fo%2Fopenafs.git STABLE12-revert-part-of-linux-dcache-inconsistency-fix-20020115 may revisit this before release; however, open_namei on 2.2 wants a dentry returned to it and so without this change, creating files in afs breaks (cherry picked from commit 372da2bebc1eb10aaacf4532d4cd5aea901a3c83) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 3e7e938cd..ff96e4ec4 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -918,10 +918,10 @@ int afs_linux_lookup(struct inode *dip, struct dentry *dp) else if (S_ISLNK(ip->i_mode)) ip->i_op = &afs_symlink_iops; #endif + } dp->d_time = jiffies; dp->d_op = afs_dops; d_add(dp, (struct inode*)vcp); - } AFS_GUNLOCK(); crfree(credp);