fsnotify: pass object pointer and type to fsnotify mark helpers
authorAmir Goldstein <amir73il@gmail.com>
Sun, 17 Mar 2024 18:41:49 +0000 (20:41 +0200)
committerJan Kara <jack@suse.cz>
Thu, 4 Apr 2024 14:24:16 +0000 (16:24 +0200)
commit687c217c6aa2c24e6ddf98cc7f86a5b986e5918d
tree5050bc435e1370a4ced2940b0811153a2dbc1d8e
parentb5cae086cc2fde629495d988106d70e44c90cb20
fsnotify: pass object pointer and type to fsnotify mark helpers

Instead of passing fsnotify_connp_t, pass the pointer to the marked
object.

Store the object pointer in the connector and move the definition of
fsnotify_connp_t to internal fsnotify subsystem API, so it is no longer
used by fsnotify backends.

Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20240317184154.1200192-6-amir73il@gmail.com>
fs/notify/fanotify/fanotify_user.c
fs/notify/fsnotify.h
fs/notify/mark.c
include/linux/fsnotify_backend.h