patch-2.4.20 linux-2.4.20/fs/super.c

Next file: linux-2.4.20/fs/ufs/truncate.c
Previous file: linux-2.4.20/fs/smbfs/sock.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/fs/super.c linux-2.4.20/fs/super.c
@@ -659,8 +659,7 @@
 	/* What device it is? */
 	if (!dev_name || !*dev_name)
 		return ERR_PTR(-EINVAL);
-	if (path_init(dev_name, LOOKUP_FOLLOW|LOOKUP_POSITIVE, &nd))
-		error = path_walk(dev_name, &nd);
+	error = path_lookup(dev_name, LOOKUP_FOLLOW|LOOKUP_POSITIVE, &nd);
 	if (error)
 		return ERR_PTR(error);
 	inode = nd.dentry->d_inode;

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