Skip to content
Snippets Groups Projects
Commit 2a12a9d7 authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent 8112e2d6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment