fanotify: do not recalculate the mask if the ignored mask changed
authorEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:21:59 +0000 (17:21 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:22:16 +0000 (17:22 -0400)
commit192ca4d1941228e69c1fbeebab317725407e6e65
treecff474f312a41b5ab4fbbf72a558675f377e1808
parent8fcd65280abc4699510f1853ede31f43e8a3783a
fanotify: do not recalculate the mask if the ignored mask changed

If fanotify sets a new bit in the ignored mask it will cause the generic
fsnotify layer to recalculate the real mask.  This is stupid since we
didn't change that part.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c