From: Eric Paris Date: Tue, 9 Nov 2010 00:36:41 +0000 (-0500) Subject: fanotify: calculate the correct file flags up front X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba611b1c12a230785c25a7b3a5ea948fda8cc137;p=pandora-kernel.git fanotify: calculate the correct file flags up front 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 --- Reading git-diff-tree failed