Commit b9164789 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 0ce03642
...@@ -2840,7 +2840,7 @@ void __init mount_devfs_fs (void) ...@@ -2840,7 +2840,7 @@ void __init mount_devfs_fs (void)
int err; int err;
if ( !(boot_options & OPTION_MOUNT) ) return; 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"); if (err == 0) printk (KERN_INFO "Mounted devfs on /dev\n");
else PRINTK ("(): unable to mount devfs, err: %d\n", err); else PRINTK ("(): unable to mount devfs, err: %d\n", err);
} /* End Function mount_devfs_fs */ } /* End Function mount_devfs_fs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment