fsnotify: send struct file when sending events to parents when possible
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:21 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:48 +0000 (09:58 -0400)
commit28c60e37f874dcbb93c4afc839ba5e4911c4f4bc
tree6f0ba450d42e9e9d6cc5be2e42dc846f00c44447
parent2a12a9d7814631e918dec93abad856e692d5286d
fsnotify: send struct file when sending events to parents when possible

fanotify needs a path in order to open an fd to the object which changed.
Currently notifications to inode's parents are done using only the inode.
For some parental notification we have the entire file, send that so
fanotify can use it.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fsnotify.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h