diff options
| author | Amir Goldstein <amir73il@gmail.com> | 2024-03-17 20:41:47 +0200 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2024-04-04 16:24:16 +0200 |
| commit | 230d97d39ee2eb9030309f04f98615aaeb420dac (patch) | |
| tree | 3039b93f15d188dcd686260ca2c3b44e49b18dfd /fs/notify/inotify | |
| parent | f115815d75332f9dabb0d7c29c8f67b0f26889c5 (diff) | |
fsnotify: create a wrapper fsnotify_find_inode_mark()
In preparation to passing an object pointer to fsnotify_find_mark(), add
a wrapper fsnotify_find_inode_mark() and use it where possible.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20240317184154.1200192-4-amir73il@gmail.com>
Diffstat (limited to 'fs/notify/inotify')
| -rw-r--r-- | fs/notify/inotify/inotify_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index 85d8fdd55329..4ffc30606e0b 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -544,7 +544,7 @@ static int inotify_update_existing_watch(struct fsnotify_group *group, int create = (arg & IN_MASK_CREATE); int ret; - fsn_mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group); + fsn_mark = fsnotify_find_inode_mark(inode, group); if (!fsn_mark) return -ENOENT; else if (create) { |
