Re: 2.6.12-rc3-mm3
From: Borislav Petkov
Date: Thu May 05 2005 - 10:05:05 EST
build.log:
<snip>
fs/namei.c: In function `vfs_rename':
fs/namei.c:2177: warning: passing arg 1 of `fsnotify_oldname_init' from
incompatible pointer type
</snip>
trivial fix for when !CONFIG_INOTIFY
Signed-off-by: Borislav Petkov <petkov@xxxxxxxxxxxxxxx>
--- include/linux/fsnotify.h.orig 2005-05-05 15:56:41.000000000 +0200
+++ include/linux/fsnotify.h 2005-05-05 16:53:11.000000000 +0200
@@ -241,7 +241,7 @@ static inline void fsnotify_oldname_free
#else /* CONFIG_INOTIFY */
-static inline char *fsnotify_oldname_init(struct dentry *old_dentry)
+static inline char *fsnotify_oldname_init(const char *name)
{
return NULL;
}
-
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/