notify_inotify: Map inotify mask back to filter
commit5a58a14be8143bea81b0cee4251445507e9766ba
authorChristof Schmitt <cs@samba.org>
Fri, 15 Jul 2016 19:16:18 +0000 (15 12:16 -0700)
committerVolker Lendecke <vl@samba.org>
Mon, 18 Jul 2016 16:50:55 +0000 (18 18:50 +0200)
treee2f072731aa17edc595f706c4078782b00033308
parentf83432bf3f0adab7c470124777216fbfbbda784b
notify_inotify: Map inotify mask back to filter

Instead of reporting that an inotify event triggered all possible filter
masks, map the inotify event back to the filter mask. This is slightly
more accurate, although there can still be mismatches due to the
mapping.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jul 18 18:50:55 CEST 2016 on sn-devel-144
source3/smbd/notify_inotify.c