aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRobert Love <rml@novell.com>2004-10-28 23:27:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-28 23:27:45 -0700
commit8de0e8bca3f16efd75684a1b7cc287dcd6ac3b8f (patch)
treeff678895482e6d8adaf633ad77a50878c4032eb4 /kernel
parent184372a40182086dd8eb9a6feb2f72516541268c (diff)
downloadhistory-8de0e8bca3f16efd75684a1b7cc287dcd6ac3b8f.tar.gz
[PATCH] make dnotify a configure-time option
make dnotify configurable, via CONFIG_DNOTIFY. CONFIG_EMBEDDED is required for disabling dnotify. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e6dc3568a9037e..67ffac304262c1 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -894,6 +894,7 @@ static ctl_table fs_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#ifdef CONFIG_DNOTIFY
{
.ctl_name = FS_DIR_NOTIFY,
.procname = "dir-notify-enable",
@@ -902,6 +903,7 @@ static ctl_table fs_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#endif
{
.ctl_name = FS_LEASE_TIME,
.procname = "lease-break-time",