Re: 2.6.16-rc5-mm1

Andrew Morton
2006-03-01T10:49:17Z

Laurent Riffard <laurent.riffard@free.fr> wrote:
>
> Well, I should have check my logs... There is a bunch of BUGs
> when I launch Gnome:
>
> BUG: warning at fs/inotify.c:533/inotify_d_instantiate()

yup, that's a known-about warning for something which is harmless. We're
still working out what to do about that. The short-term solution is to
remove it.

--- devel/fs/inotify.c~a 2006-03-01 02:47:01.000000000 -0800
+++ devel-akpm/fs/inotify.c 2006-03-01 02:47:06.000000000 -0800
@@ -530,7 +530,6 @@ void inotify_d_instantiate(struct dentry
if (!inode)
return;

- WARN_ON(entry->d_flags & DCACHE_INOTIFY_PARENT_WATCHED);
spin_lock(&entry->d_lock);
parent = entry->d_parent;
if (inotify_inode_watched(parent->d_inode))
_