From: Eric Paris Date: Fri, 18 Dec 2009 02:24:21 +0000 (-0500) Subject: fsnotify: pass a file instead of an inode to open, read, and write X-Git-Tag: v2.6.36-rc1~303^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a12a9d7814631e918dec93abad856e692d5286d;p=pandora-kernel.git fsnotify: pass a file instead of an inode to open, read, and write fanotify, the upcoming notification system actually needs a struct path so it can do opens in the context of listeners, and it needs a file so it can get f_flags from the original process. Close was the only operation that already was passing a struct file to the notification hook. This patch passes a file for access, modify, and open as well as they are easily available to these hooks. Signed-off-by: Eric Paris --- Reading git-diff-tree failed