Re: 2.6.16-rc5-mm1

Andrew Morton
2006-03-01T20:25:40Z

Andrew Morton <akpm@osdl.org> wrote:
>
> Nick, isn't it simply a matter of..

err...

--- devel/fs/dcache.c~inotify-lock-avoidance-with-parent-watch-status-in-dentry-fix 2006-03-01 12:16:22.000000000 -0800
+++ devel-akpm/fs/dcache.c 2006-03-01 12:18:34.000000000 -0800
@@ -100,6 +100,7 @@ static void dentry_iput(struct dentry *
if (inode) {
dentry->d_inode = NULL;
list_del_init(&dentry->d_alias);
+ dentry->d_flags &= ~DCACHE_INOTIFY_PARENT_WATCHED;
spin_unlock(&dentry->d_lock);
spin_unlock(&dcache_lock);
if (!inode->i_nlink)
_