From d9a2fc5445a16b4272ed58216349134db0aebf7e Mon Sep 17 00:00:00 2001 From: Ulisses Furquim Date: Fri, 8 Feb 2008 04:18:16 -0800 Subject: [PATCH] --- yaml --- r: 84600 b: refs/heads/master c: ac74c00e499ed276a965e5b5600667d5dc04a84a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/inotify_user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 533c61c32ff5..6e9b5c0dcd4d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a4ffc0a0b240a29cbe489f6db9dae112a49ef1c1 +refs/heads/master: ac74c00e499ed276a965e5b5600667d5dc04a84a diff --git a/trunk/fs/inotify_user.c b/trunk/fs/inotify_user.c index a336c9709f3c..3ab09a65c456 100644 --- a/trunk/fs/inotify_user.c +++ b/trunk/fs/inotify_user.c @@ -283,7 +283,7 @@ static void inotify_dev_queue_event(struct inotify_watch *w, u32 wd, u32 mask, /* we can safely put the watch as we don't reference it while * generating the event */ - if (mask & IN_IGNORED || mask & IN_ONESHOT) + if (mask & IN_IGNORED || w->mask & IN_ONESHOT) put_inotify_watch(w); /* final put */ /* coalescing: drop this event if it is a dupe of the previous */