mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] fsnotify: use def_bool in kconfig instead of letting the user choose
@ 2009-07-13 13:43 Eric Paris
  2009-07-13 13:43 ` [PATCH 2/3] inotify: check filename before dropping repeat events Eric Paris
  2009-07-13 13:44 ` [PATCH 3/3] fsnotify: fix inotify tail drop check with path entries Eric Paris
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Paris @ 2009-07-13 13:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: scott, viro

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>
---

 fs/notify/Kconfig         |   12 +-----------
 fs/notify/dnotify/Kconfig |    2 +-
 fs/notify/inotify/Kconfig |    2 +-
 3 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/fs/notify/Kconfig b/fs/notify/Kconfig
index 31dac7e..dffbb09 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 904ff8d..f9c1ca1 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 5356884..3e56dbf 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-13 13:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-13 13:43 [PATCH 1/3] fsnotify: use def_bool in kconfig instead of letting the user choose Eric Paris
2009-07-13 13:43 ` [PATCH 2/3] inotify: check filename before dropping repeat events Eric Paris
2009-07-13 13:44 ` [PATCH 3/3] fsnotify: fix inotify tail drop check with path entries Eric Paris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®