ソースを参照

ANON_INODES shouldn't be user visible

There doesn't seem to be a good reason for ANON_INODES being
an user visible option.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk 18 年 前
コミット
448e3cee83
1 ファイル変更5 行追加11 行削除
  1. 5 11
      init/Kconfig

+ 5 - 11
init/Kconfig

@@ -468,25 +468,19 @@ config FUTEX
 	  run glibc-based applications correctly.
 	  run glibc-based applications correctly.
 
 
 config ANON_INODES
 config ANON_INODES
-	bool "Enable anonymous inode source" if EMBEDDED
-	default y
-	help
-	  Anonymous inode source for pseudo-files like epoll, signalfd,
-	  timerfd and eventfd.
-
-	  If unsure, say Y.
+	bool
 
 
 config EPOLL
 config EPOLL
 	bool "Enable eventpoll support" if EMBEDDED
 	bool "Enable eventpoll support" if EMBEDDED
 	default y
 	default y
-	depends on ANON_INODES
+	select ANON_INODES
 	help
 	help
 	  Disabling this option will cause the kernel to be built without
 	  Disabling this option will cause the kernel to be built without
 	  support for epoll family of system calls.
 	  support for epoll family of system calls.
 
 
 config SIGNALFD
 config SIGNALFD
 	bool "Enable signalfd() system call" if EMBEDDED
 	bool "Enable signalfd() system call" if EMBEDDED
-	depends on ANON_INODES
+	select ANON_INODES
 	default y
 	default y
 	help
 	help
 	  Enable the signalfd() system call that allows to receive signals
 	  Enable the signalfd() system call that allows to receive signals
@@ -496,7 +490,7 @@ config SIGNALFD
 
 
 config TIMERFD
 config TIMERFD
 	bool "Enable timerfd() system call" if EMBEDDED
 	bool "Enable timerfd() system call" if EMBEDDED
-	depends on ANON_INODES
+	select ANON_INODES
 	default y
 	default y
 	help
 	help
 	  Enable the timerfd() system call that allows to receive timer
 	  Enable the timerfd() system call that allows to receive timer
@@ -506,7 +500,7 @@ config TIMERFD
 
 
 config EVENTFD
 config EVENTFD
 	bool "Enable eventfd() system call" if EMBEDDED
 	bool "Enable eventfd() system call" if EMBEDDED
-	depends on ANON_INODES
+	select ANON_INODES
 	default y
 	default y
 	help
 	help
 	  Enable the eventfd() system call that allows to receive both
 	  Enable the eventfd() system call that allows to receive both