[RFC: 2.6 patch] allow disabling DNOTIFY without EMBEDDED

From: Adrian Bunk
Date: Tue Aug 14 2007 - 17:49:55 EST


This patch allows 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@xxxxxxxxxx>

---

This patch has been sent on:
- 29 Jul 2007
- 1 Jul 2007
- 22 Jun 2007

--- linux-2.6.22-rc4-mm2/fs/Kconfig.old 2007-06-21 18:25:20.000000000 +0200
+++ linux-2.6.22-rc4-mm2/fs/Kconfig 2007-06-21 18:25:54.000000000 +0200
@@ -585,17 +585,17 @@
depends on XFS_QUOTA || QUOTA
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
that uses signals to communicate events to user-space. There exist
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"
help

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/