patch-2.3.99-pre5 linux/fs/namei.c

Next file: linux/fs/nfs/inode.c
Previous file: linux/drivers/usb/usb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre4/linux/fs/namei.c linux/fs/namei.c
@@ -522,7 +522,7 @@
 walk_init_root(const char *name, unsigned flags, struct nameidata *nd)
 {
 	if (current->personality != PER_LINUX)
-		if (__emul_lookup_dentry(name,flags,nd));
+		if (__emul_lookup_dentry(name,flags,nd))
 			return 0;
 	nd->mnt = mntget(current->fs->rootmnt);
 	nd->dentry = dget(current->fs->root);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)