浏览代码

allow disabling DNOTIFY without EMBEDDED

Allow disabling DNOTIFY with CONFIG_EMBEDDED=n.

I'm currently running a kernel with dnotify disabled and I haven't run into
any problem.  Is there any popular application left that breaks without
dnotify support in the kernel?

Note that this patch does not remove dnotify support, it still defaults to
"y", and the help text recommends enabling it.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Adrian Bunk 17 年之前
父节点
当前提交
7e341fa1f8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/Kconfig

+ 2 - 2
fs/Kconfig

@@ -555,7 +555,7 @@ config QUOTACTL
 	default y
 	default y
 
 
 config DNOTIFY
 config DNOTIFY
-	bool "Dnotify support" if EMBEDDED
+	bool "Dnotify support"
 	default y
 	default y
 	help
 	help
 	  Dnotify is a directory-based per-fd file change notification system
 	  Dnotify is a directory-based per-fd file change notification system
@@ -563,7 +563,7 @@ config DNOTIFY
 	  superior alternatives, but some applications may still rely on
 	  superior alternatives, but some applications may still rely on
 	  dnotify.
 	  dnotify.
 
 
-	  Because of this, if unsure, say Y.
+	  If unsure, say Y.
 
 
 config AUTOFS_FS
 config AUTOFS_FS
 	tristate "Kernel automounter support"
 	tristate "Kernel automounter support"