Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147758
b: refs/heads/master
c: ce61856
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Jun 11, 2009
1 parent 41aaa90 commit 78a057c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ac697b793a3c45005c568df692518da6e690390
refs/heads/master: ce61856bd2aadb064f595e5c0444376a2b117c41
3 changes: 1 addition & 2 deletions trunk/fs/notify/dnotify/dnotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78a057c

Please sign in to comment.