]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-revert-part-of-linux-dcache-inconsistency-fix-20020115
authorDerrick Brashear <shadow@dementia.org>
Tue, 2 Apr 2002 03:12:24 +0000 (03:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 2 Apr 2002 03:12:24 +0000 (03:12 +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

(cherry picked from commit 372da2bebc1eb10aaacf4532d4cd5aea901a3c83)

src/afs/LINUX/osi_vnodeops.c

index 3e7e938cd21eeb7ae6e688e716b405ea75d687da..ff96e4ec42a3d5e50384497107cebe56109b1505 100644 (file)
@@ -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);