android_kernel_xiaomi_sm8350/fs/notify/inotify
Eric Paris 7e790dd5fc inotify: fix error paths in inotify_update_watch
inotify_update_watch could leave things in a horrid state on a number of
error paths.  We could try to remove idr entries that didn't exist, we
could send an IN_IGNORED to userspace for watches that don't exist, and a
bit of other stupidity.  Clean these up by doing the idr addition before we
put the mark on the inode since we can clean that up on error and getting
off the inode's mark list is hard.

Signed-off-by: Eric Paris <eparis@redhat.com>
2009-07-21 15:26:26 -04:00
..
inotify_fsnotify.c inotify: inotify_destroy_mark_entry could get called twice 2009-06-19 12:42:48 -04:00
inotify_user.c inotify: fix error paths in inotify_update_watch 2009-07-21 15:26:26 -04:00
inotify.c fsnotify: unified filesystem notification backend 2009-06-11 14:57:52 -04:00
inotify.h inotify: inotify_destroy_mark_entry could get called twice 2009-06-19 12:42:48 -04:00
Kconfig inotify: reimplement inotify using fsnotify 2009-06-11 14:57:54 -04:00
Makefile inotify: reimplement inotify using fsnotify 2009-06-11 14:57:54 -04:00