summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-03-04 14:54:47 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-03-04 14:47:04 -0800
commitd47846c5866b7d98a1173c86a39d810a06647329 (patch)
tree626b8247eda2a3746cdc035c69fbf748dc7bc0fe /init
parent024440d2ec9712c077cd315de7ae6bc9f6f14f1b (diff)
downloadkernel-crypto-d47846c5866b7d98a1173c86a39d810a06647329.tar.gz
kernel-crypto-d47846c5866b7d98a1173c86a39d810a06647329.tar.xz
kernel-crypto-d47846c5866b7d98a1173c86a39d810a06647329.zip
sysfs: CONFIG_SYSFS_DEPRECATED fix
CONFIG_SYSFS_DEPRECATED=y changed its meaning recently and causes regressions in working setups that had SYSFS_DEPRECATED disabled. so rename it to SYSFS_DEPRECATED_V2 so that testers pick up the new default via 'make oldconfig', even if their old .config's disabled CONFIG_SYSFS_DEPRECATED ... Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index e6606e6e99e..98ebf372541 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -367,9 +367,13 @@ config RESOURCE_COUNTERS
depends on CGROUPS
config SYSFS_DEPRECATED
+ bool
+
+config SYSFS_DEPRECATED_V2
bool "Create deprecated sysfs files"
depends on SYSFS
default y
+ select SYSFS_DEPRECATED
help
This option creates deprecated symlinks such as the
"device"-link, the <subsystem>:<name>-link, and the