commit | a741c2febeadc675aef84bcd6924b6522577d593 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Mar 24 15:27:52 2020 +0100 |
committer | Jan Kara <jack@suse.cz> | Wed Mar 25 10:22:54 2020 +0100 |
tree | 55c848f371dd7f16b9202f7cca71e3c9412534dc | |
parent | 55bf882c7f13dda8bbe624040c6d5b4fbb812d16 [diff] |
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: Jan Kara <jack@suse.cz>