commit | 8c5544666c9d88046bfd60aa7d5fea5c6d3d59bd | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Jan 08 13:52:31 2019 +0100 |
committer | Jan Kara <jack@suse.cz> | Mon Feb 18 12:40:46 2019 +0100 |
tree | 5847fbd0406327fe8fcb19bb2edfa292474b63c6 | |
parent | af6a51130626bfd3e60041d80335b2c31590d56d [diff] |
fanotify: Move locking inside get_one_event() get_one_event() has a single caller and that just locks notification_lock around the call. Move locking inside get_one_event() as that will make using ->response field for permission event state easier. Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>