commit | ce61856bd2aadb064f595e5c0444376a2b117c41 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Jun 11 11:09:47 2009 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Jun 11 14:57:54 2009 -0400 |
tree | 4a438d07fbce1acbb3970b631211aaf445f2e41b | |
parent | 5ac697b793a3c45005c568df692518da6e690390 [diff] |
dnotify: do not bother to lock entry->lock when reading mask entry->lock is needed to make sure entry->mask does not change while manipulating it. In dnotify_should_send_event() we don't care if we get an old or a new mask value out of this entry so there is no point it taking the lock. Signed-off-by: Eric Paris <eparis@redhat.com>