lkml.org 
[lkml]   [2001]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fix for idiocy in mount_root cleanups.
	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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.100 / U:21.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site