Skip to content
Commit a741c2fe authored by Jan Kara's avatar Jan Kara
Browse files

fanotify: Simplify create_fd()



create_fd() is never used with invalid path. Also the only thing it
needs to know from fanotify_event is the path. Simplify the function to
take path directly and assume it is correct.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 55bf882c
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