fsnotify: create helpers to get sb and connp from object
authorAmir Goldstein <amir73il@gmail.com>
Sun, 17 Mar 2024 18:41:46 +0000 (20:41 +0200)
committerJan Kara <jack@suse.cz>
Thu, 4 Apr 2024 14:23:46 +0000 (16:23 +0200)
commitf115815d75332f9dabb0d7c29c8f67b0f26889c5
tree6a5a3ed58e82a5e9e8e651f4d7530889dbd55fc5
parentd2f277e26f521ccf6fb438463b41dba6123caabe
fsnotify: create helpers to get sb and connp from object

In preparation to passing an object pointer to add/remove/find mark
helpers, create helpers to get sb and connp by object type.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20240317184154.1200192-3-amir73il@gmail.com>
fs/notify/fsnotify.h
fs/notify/mark.c