Re: [PATCH] fix for idiocy in mount_root cleanups.

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Dec 08 2001 - 16:04:59 EST


        OK, for the time being we can simply go with

diff -urN C1-pre7/init/do_mounts.c C1-pre7-fix/init/do_mounts.c
--- C1-pre7/init/do_mounts.c Fri Dec 7 20:48:43 2001
+++ C1-pre7-fix/init/do_mounts.c Sat Dec 8 15:54:46 2001
@@ -351,7 +351,8 @@
                 mount("devfs", ".", "devfs", 0, NULL);
 retry:
         for (p = fs_names; *p; p += strlen(p)+1) {
- err = mount(name,"/root",p,root_mountflags,root_mount_data);
+ int err;
+ err = sys_mount(name,"/root",p,root_mountflags,root_mount_data);
                 switch (err) {
                         case 0:
                                 goto done;

Is that OK with you?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:13 EST