summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2020-05-12 20:18:36 +0200
committerJan Kara <jack@suse.cz>2020-05-13 17:15:43 +0200
commitc5e443cb7b6ce6c6a5f49640359f6e834d6a6ed4 (patch)
tree13b893d5772fca5a6f3715a2f77b218c42b9bef9 /fs/notify/fanotify
parentfsnotify: add mutex destroy (diff)
downloadlinux-c5e443cb7b6ce6c6a5f49640359f6e834d6a6ed4.tar.xz
linux-c5e443cb7b6ce6c6a5f49640359f6e834d6a6ed4.zip
fanotify: remove reference to fill_event_metadata()
fill_event_metadata() was removed in commit bb2f7b4542c7 ("fanotify: open code fill_event_metadata()") Link: https://lore.kernel.org/r/20200512181836.405879-1-fabf@skynet.be Signed-off-by: Fabian Frederick <fabf@skynet.be> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fanotify')
-rw-r--r--fs/notify/fanotify/fanotify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index 42cb794c62ac..02a314acc757 100644
--- a/fs/notify/fanotify/fanotify_user.c
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -328,7 +328,7 @@ static ssize_t copy_event_to_user(struct fsnotify_group *group,
ret = -EFAULT;
/*
* Sanity check copy size in case get_one_event() and
- * fill_event_metadata() event_len sizes ever get out of sync.
+ * event_len sizes ever get out of sync.
*/
if (WARN_ON_ONCE(metadata.event_len > count))
goto out_close_fd;