From: Borislav Petkov <[email-masked]>

With !CONFIG_INOTIFY:

fs/namei.c: In function `vfs_rename':
fs/namei.c:2177: warning: passing arg 1 of `fsnotify_oldname_init' from 

Signed-off-by: Borislav Petkov <[email-masked]>
Cc: Robert Love <[email-masked]>
Signed-off-by: Andrew Morton <[email-masked]>
---

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

diff -puN include/linux/fsnotify.h~inotify-44-warning-fix include/linux/fsnotify.h
--- 25/include/linux/fsnotify.h~inotify-44-warning-fix	2005-05-06 18:02:27.000000000 -0700
+++ 25-akpm/include/linux/fsnotify.h	2005-05-06 18:02:28.000000000 -0700
@@ -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;
 }
_