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

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)