aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig6
-rw-r--r--init/do_mounts.c3
-rw-r--r--init/main.c1
3 files changed, 6 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index fed6dc31b0da..c4b3c6d51a72 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -616,13 +616,13 @@ config SYSFS_DEPRECATED
616 bool 616 bool
617 617
618config SYSFS_DEPRECATED_V2 618config SYSFS_DEPRECATED_V2
619 bool "Create deprecated sysfs layout for older userspace tools" 619 bool "remove sysfs features which may confuse old userspace tools"
620 depends on SYSFS 620 depends on SYSFS
621 default y 621 default n
622 select SYSFS_DEPRECATED 622 select SYSFS_DEPRECATED
623 help 623 help
624 This option switches the layout of sysfs to the deprecated 624 This option switches the layout of sysfs to the deprecated
625 version. 625 version. Do not use it on recent distributions.
626 626
627 The current sysfs layout features a unified device tree at 627 The current sysfs layout features a unified device tree at
628 /sys/devices/, which is able to express a hierarchy between 628 /sys/devices/, which is able to express a hierarchy between
diff --git a/init/do_mounts.c b/init/do_mounts.c
index dd7ee5f203f3..093f65915501 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -231,7 +231,8 @@ static int __init do_mount_root(char *name, char *fs, int flags, void *data)
231 231
232void __init mount_block_root(char *name, int flags) 232void __init mount_block_root(char *name, int flags)
233{ 233{
234 char *fs_names = __getname(); 234 char *fs_names = __getname_gfp(GFP_KERNEL
235 | __GFP_NOTRACK_FALSE_POSITIVE);
235 char *p; 236 char *p;
236#ifdef CONFIG_BLOCK 237#ifdef CONFIG_BLOCK
237 char b[BDEVNAME_SIZE]; 238 char b[BDEVNAME_SIZE];
diff --git a/init/main.c b/init/main.c
index 5e0d3f047eaf..7756ddad3c85 100644
--- a/init/main.c
+++ b/init/main.c
@@ -65,6 +65,7 @@
65#include <linux/idr.h> 65#include <linux/idr.h>
66#include <linux/ftrace.h> 66#include <linux/ftrace.h>
67#include <linux/async.h> 67#include <linux/async.h>
68#include <linux/kmemcheck.h>
68#include <linux/kmemtrace.h> 69#include <linux/kmemtrace.h>
69#include <trace/boot.h> 70#include <trace/boot.h>
70 71