From 78a057c06bf03d55eca83c54f5813dfdb62a9f6b Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Thu, 11 Jun 2009 11:09:47 -0400 Subject: [PATCH] --- yaml --- r: 147758 b: refs/heads/master c: ce61856bd2aadb064f595e5c0444376a2b117c41 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/notify/dnotify/dnotify.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bfeaa7358084..fd795a218e84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5ac697b793a3c45005c568df692518da6e690390 +refs/heads/master: ce61856bd2aadb064f595e5c0444376a2b117c41 diff --git a/trunk/fs/notify/dnotify/dnotify.c b/trunk/fs/notify/dnotify/dnotify.c index 5134e898f60d..ec459b6e8c64 100644 --- a/trunk/fs/notify/dnotify/dnotify.c +++ b/trunk/fs/notify/dnotify/dnotify.c @@ -153,9 +153,8 @@ static bool dnotify_should_send_event(struct fsnotify_group *group, if (!entry) return false; - spin_lock(&entry->lock); send = (mask & entry->mask); - spin_unlock(&entry->lock); + fsnotify_put_mark(entry); /* matches fsnotify_find_mark_entry */ return send;