fanotify: calculate the correct file flags up front
authorEric Paris <eparis@redhat.com>
Tue, 9 Nov 2010 00:36:41 +0000 (19:36 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 15 Dec 2010 18:58:44 +0000 (13:58 -0500)
fanotify does and |= FMODE_NONOTIFY every single time it opens a file
for the listeners.  Instead just calculate that once during
sys_fanotify_init() and use it when needed.  Just a minor perf win.

Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found