• Jan Kara's avatar
    fanotify: Simplify create_fd() · a741c2fe
    Jan Kara authored
    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>
    a741c2fe
fanotify_user.c 29.3 KB