kernel-hacking-2024-linux-s.../fs/notify
Gabriel Krisman Bertazi 29335033c5 fsnotify: Retrieve super block from the data field
Some file system events (i.e. FS_ERROR) might not be associated with an
inode or directory.  For these, we can retrieve the super block from the
data field.  But, since the super_block is available in the data field
on every event type, simplify the code to always retrieve it from there,
through a new helper.

Link: https://lore.kernel.org/r/20211025192746.66445-11-krisman@collabora.com
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2021-10-27 12:33:52 +02:00
..
dnotify \n 2020-12-17 10:56:27 -08:00
fanotify fsnotify: Add wrapper around fsnotify_add_event 2021-10-27 12:33:43 +02:00
inotify fsnotify: Add wrapper around fsnotify_add_event 2021-10-27 12:33:43 +02:00
fdinfo.c fanotify: fix permission model of unprivileged group 2021-05-25 12:21:14 +02:00
fdinfo.h
fsnotify.c fsnotify: Retrieve super block from the data field 2021-10-27 12:33:52 +02:00
fsnotify.h fsnotify: count all objects with attached connectors 2021-08-11 13:50:48 +02:00
group.c fanotify: configurable limits via sysfs 2021-03-16 16:49:31 +01:00
Kconfig
Makefile
mark.c fsnotify: fix sb_connectors leak 2021-09-10 09:46:48 -07:00
notification.c fsnotify: Add wrapper around fsnotify_add_event 2021-10-27 12:33:43 +02:00