patch-2.4.27 linux-2.4.27/fs/namei.c
Next file: linux-2.4.27/fs/nfs/dir.c
Previous file: linux-2.4.27/fs/jfs/xattr.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
2004-08-07 16:26:06.010402496 -0700
-  Orig file: 
linux-2.4.26/fs/namei.c
-  Orig date: 
2003-08-25 04:44:43.000000000 -0700
diff -urN linux-2.4.26/fs/namei.c linux-2.4.27/fs/namei.c
@@ -583,9 +583,9 @@
 			if (err < 0)
 				break;
 		}
-		dentry = cached_lookup(nd->dentry, &this, 0);
+		dentry = cached_lookup(nd->dentry, &this, nd->flags);
 		if (!dentry) {
-			dentry = real_lookup(nd->dentry, &this, 0);
+			dentry = real_lookup(nd->dentry, &this, nd->flags);
 			err = PTR_ERR(dentry);
 			if (IS_ERR(dentry))
 				break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)