Commit 40095e9a authored by Craig Tatlor's avatar Craig Tatlor
Browse files

init: ignore bootloader cmdline params for mounts

parent 8b58aece
......@@ -290,6 +290,7 @@ dev_t name_to_dev_t(const char *name)
}
EXPORT_SYMBOL_GPL(name_to_dev_t);
/*
static int __init root_dev_setup(char *line)
{
strlcpy(saved_root_name, line, sizeof(saved_root_name));
......@@ -297,6 +298,7 @@ static int __init root_dev_setup(char *line)
}
__setup("root=", root_dev_setup);
*/
static int __init rootwait_setup(char *str)
{
......
......@@ -609,6 +609,7 @@ static void __init clean_rootfs(void)
static int __initdata do_skip_initramfs;
/*
static int __init skip_initramfs_param(char *str)
{
if (*str)
......@@ -617,6 +618,7 @@ static int __init skip_initramfs_param(char *str)
return 1;
}
__setup("skip_initramfs", skip_initramfs_param);
*/
static int __init populate_rootfs(void)
{
......
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