[patch] inotify: fix dnotify compile

From: Robert Love
Date: Tue Nov 02 2004 - 00:18:10 EST


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

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/