lkml.org 
[lkml]   [2004]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch] inotify: fix dnotify compile
From
Date
Hi, John.

Looks like the dnotify patch was only half removed. The declaration of
dir_notify_enable in include/linux/fs.h is still removed by the patch.
So e.g. sysctl.c does not compile.

You can remove that hunk from the patch or commit the following.

Thanks,

Robert Love


fix CONFIG_DNOTIFY compile

Signed-Off-By: Robert Love <rml@novell.com>

include/linux/fs.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -u linux-poop/include/linux/fs.h linux/include/linux/fs.h
--- linux-poop/include/linux/fs.h 2004-10-26 22:13:06.000000000 -0400
+++ linux/include/linux/fs.h 2004-11-01 14:52:58.630121656 -0500
@@ -62,7 +62,7 @@
};
extern struct inodes_stat_t inodes_stat;

-extern int leases_enable, lease_break_time;
+extern int leases_enable, dir_notify_enable, lease_break_time;

#define NR_FILE 8192 /* this can well be larger on a larger system */
#define NR_RESERVED_FILES 10 /* reserved for root */

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

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.066 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site