1
0
Fork 0
remarkable-linux/fs/notify/inotify
Jan Kara 83c0e1b442 fsnotify: Do not return merged event from fsnotify_add_notify_event()
The event returned from fsnotify_add_notify_event() cannot ever be used
safely as the event may be freed by the time the function returns (after
dropping notification_mutex). So change the prototype to just return
whether the event was added or merged into some existing event.

Reported-and-tested-by: Jiri Kosina <jkosina@suse.cz>
Reported-and-tested-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2014-01-29 13:57:10 +01:00
..
Kconfig inotify: remove inotify in kernel interface 2010-07-28 09:58:31 -04:00
Makefile inotify: remove inotify in kernel interface 2010-07-28 09:58:31 -04:00
inotify.h fsnotify: do not share events between notification groups 2014-01-21 16:19:41 -08:00
inotify_fsnotify.c fsnotify: Do not return merged event from fsnotify_add_notify_event() 2014-01-29 13:57:10 +01:00
inotify_user.c fsnotify: do not share events between notification groups 2014-01-21 16:19:41 -08:00