Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-15 18:05:58 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-15 18:05:58 -0800
commitb9164789fd201dca9f03b3bbef65f04af81a41c1 (patch)
treea7b7e3625d11c10f4b0dda1eb4ae2f498059a158
parent0ce036428919c8d2519e4af4f3bbeb8f76f05441 (diff)
[PATCH] devfs do_mount fix
From: James Morris <jmorris@redhat.com> devfs is passing an empty string to do_mount when it expects a page.
-rw-r--r--fs/devfs/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/devfs/base.c b/fs/devfs/base.c
index fd79cc670d4a..d31e67d98a14 100644
--- a/fs/devfs/base.c
+++ b/fs/devfs/base.c
@@ -2840,7 +2840,7 @@ void __init mount_devfs_fs (void)
int err;
if ( !(boot_options & OPTION_MOUNT) ) return;
- err = do_mount ("none", "/dev", "devfs", 0, "");
+ err = do_mount ("none", "/dev", "devfs", 0, NULL);
if (err == 0) printk (KERN_INFO "Mounted devfs on /dev\n");
else PRINTK ("(): unable to mount devfs, err: %d\n", err);
} /* End Function mount_devfs_fs */