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>
This commit is contained in:
Adrian Bunk 2007-10-16 23:27:17 -07:00 committed by Linus Torvalds
parent 4a239427f2
commit 7e341fa1f8

View File

@ -555,7 +555,7 @@ config QUOTACTL
default y
config DNOTIFY
bool "Dnotify support" if EMBEDDED
bool "Dnotify support"
default y
help
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
dnotify.
Because of this, if unsure, say Y.
If unsure, say Y.
config AUTOFS_FS
tristate "Kernel automounter support"