Commit c5e443cb authored by Fabian Frederick's avatar Fabian Frederick Committed by Jan Kara

fanotify: remove reference to fill_event_metadata()

fill_event_metadata() was removed in commit bb2f7b45
("fanotify: open code fill_event_metadata()")

Link: https://lore.kernel.org/r/20200512181836.405879-1-fabf@skynet.beSigned-off-by: default avatarFabian Frederick <fabf@skynet.be>
Reviewed-by: default avatarAmir Goldstein <amir73il@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 191e1656
...@@ -328,7 +328,7 @@ static ssize_t copy_event_to_user(struct fsnotify_group *group, ...@@ -328,7 +328,7 @@ static ssize_t copy_event_to_user(struct fsnotify_group *group,
ret = -EFAULT; ret = -EFAULT;
/* /*
* Sanity check copy size in case get_one_event() and * 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)) if (WARN_ON_ONCE(metadata.event_len > count))
goto out_close_fd; goto out_close_fd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment