diff options
author | Eric Paris <eparis@redhat.com> | 2009-07-13 21:56:54 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2009-07-21 21:26:26 +0200 |
commit | 520dc2a526fd681337883b6ff1ddcf7c23b1b063 (patch) | |
tree | a6346bbd0b405d1a377aaaf5f1f69a5f662f814a | |
parent | inotify: fix error paths in inotify_update_watch (diff) | |
download | linux-520dc2a526fd681337883b6ff1ddcf7c23b1b063.tar.xz linux-520dc2a526fd681337883b6ff1ddcf7c23b1b063.zip |
fsnotify: use def_bool in kconfig instead of letting the user choose
fsnotify doens't give the user anything. If someone chooses inotify or
dnotify it should build fsnotify, if they don't select one it shouldn't be
built. This patch changes fsnotify to be a def_bool=n and makes everything
else select it. Also fixes the issue people complained about on lwn where
gdm hung because they didn't have inotify and they didn't get the inotify
build option.....
Signed-off-by: Eric Paris <eparis@redhat.com>
-rw-r--r-- | fs/notify/Kconfig | 12 | ||||
-rw-r--r-- | fs/notify/dnotify/Kconfig | 2 | ||||
-rw-r--r-- | fs/notify/inotify/Kconfig | 2 |
3 files changed, 3 insertions, 13 deletions
diff --git a/fs/notify/Kconfig b/fs/notify/Kconfig index 31dac7e3b0f1..dffbb0911d02 100644 --- a/fs/notify/Kconfig +++ b/fs/notify/Kconfig @@ -1,15 +1,5 @@ config FSNOTIFY - bool "Filesystem notification backend" - default y - ---help--- - fsnotify is a backend for filesystem notification. fsnotify does - not provide any userspace interface but does provide the basis - needed for other notification schemes such as dnotify, inotify, - and fanotify. - - Say Y here to enable fsnotify suport. - - If unsure, say Y. + def_bool n source "fs/notify/dnotify/Kconfig" source "fs/notify/inotify/Kconfig" diff --git a/fs/notify/dnotify/Kconfig b/fs/notify/dnotify/Kconfig index 904ff8d5405a..f9c1ca139d8f 100644 --- a/fs/notify/dnotify/Kconfig +++ b/fs/notify/dnotify/Kconfig @@ -1,6 +1,6 @@ config DNOTIFY bool "Dnotify support" - depends on FSNOTIFY + select FSNOTIFY default y help Dnotify is a directory-based per-fd file change notification system diff --git a/fs/notify/inotify/Kconfig b/fs/notify/inotify/Kconfig index 5356884289a1..3e56dbffe729 100644 --- a/fs/notify/inotify/Kconfig +++ b/fs/notify/inotify/Kconfig @@ -15,7 +15,7 @@ config INOTIFY config INOTIFY_USER bool "Inotify support for userspace" - depends on FSNOTIFY + select FSNOTIFY default y ---help--- Say Y here to enable inotify support for userspace, including the |