summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-04-16 19:56:37 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-15 21:30:23 -0700
commitf6ee649f4b191d316a463ce7e514f9d12fa31c01 (patch)
tree9a308553a1c6495ab3b0390f433b5fd67c04e5f9 /init
parent03347e2592078a90df818670fddf97a33eec70fb (diff)
downloadlinux-stable-f6ee649f4b191d316a463ce7e514f9d12fa31c01.tar.gz
linux-stable-f6ee649f4b191d316a463ce7e514f9d12fa31c01.tar.bz2
linux-stable-f6ee649f4b191d316a463ce7e514f9d12fa31c01.zip
driver core: set default SYSFS_DEPRECATED=n
All recent distros depend on the non-deprecated sysfs layout, so change the default value of the option to reflect that. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig6
1 files changed, 3 insertions, 3 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
bool
config SYSFS_DEPRECATED_V2
- bool "Create deprecated sysfs layout for older userspace tools"
+ bool "remove sysfs features which may confuse old userspace tools"
depends on SYSFS
- default y
+ default n
select SYSFS_DEPRECATED
help
This option switches the layout of sysfs to the deprecated
- version.
+ version. Do not use it on recent distributions.
The current sysfs layout features a unified device tree at
/sys/devices/, which is able to express a hierarchy between