revert-part-of-linux-dcache-inconsistency-fix-20020115
authorDerrick Brashear <shadow@dementia.org>
Sun, 10 Mar 2002 19:23:38 +0000 (19:23 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 10 Mar 2002 19:23:38 +0000 (19:23 +0000)
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

src/afs/LINUX/osi_vnodeops.c

index 6be78d1..38254dc 100644 (file)
@@ -1015,10 +1015,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);