forked from luck/tmp_suning_uos_patched
fanotify: remove reference to fill_event_metadata()
fill_event_metadata() was removed in commit bb2f7b4542
("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>
This commit is contained in:
parent
191e1656d1
commit
c5e443cb7b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user