linux/fs/kernfs
Amir Goldstein 40a100d3ad fsnotify: pass dir and inode arguments to fsnotify()
The arguments of fsnotify() are overloaded and mean different things
for different event types.

Replace the to_tell argument with separate arguments @dir and @inode,
because we may be sending to both dir and child.  Using the @data
argument to pass the child is not enough, because dirent events pass
this argument (for audit), but we do not report to child.

Document the new fsnotify() function argumenets.

Link: https://lore.kernel.org/r/20200722125849.17418-7-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2020-07-27 23:15:48 +02:00
..
dir.c fs/kernfs/dir.c: Clean code by removing always true condition 2020-01-14 16:14:47 +01:00
file.c fsnotify: pass dir and inode arguments to fsnotify() 2020-07-27 23:15:48 +02:00
inode.c kernfs: Add option to enable user xattrs 2020-03-16 15:53:47 -04:00
Kconfig
kernfs-internal.h kernfs: Add option to enable user xattrs 2020-03-16 15:53:47 -04:00
Makefile
mount.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2019-12-06 09:06:58 -08:00
symlink.c