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 <[email protected]>
--- 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]