fanotify: Drop fanotify_event_has_fid()
authorJan Kara <jack@suse.cz>
Tue, 24 Mar 2020 18:35:07 +0000 (19:35 +0100)
committerJan Kara <jack@suse.cz>
Wed, 25 Mar 2020 09:27:16 +0000 (10:27 +0100)
commit01affd5471dcab04c6cb0c2acaf132a20488f86f
treef3f42caaadc86a377c61ca3fa1d8fc62c6f03d9f
parentd766b553615ce67f33848ec4f6672b3158198a5c
fanotify: Drop fanotify_event_has_fid()

When some events have directory id and some object id,
fanotify_event_has_fid() becomes mostly useless and confusing because we
usually need to know which type of file handle the event has. So just
drop the function and use fanotify_event_object_fh() instead.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/fanotify/fanotify.c
fs/notify/fanotify/fanotify.h
fs/notify/fanotify/fanotify_user.c