android_kernel_xiaomi_sm8350/fs/fuse
Al Viro 233e70f422 saner FASYNC handling on file close
As it is, all instances of ->release() for files that have ->fasync()
need to remember to evict file from fasync lists; forgetting that
creates a hole and we actually have a bunch that *does* forget.

So let's keep our lives simple - let __fput() check FASYNC in
file->f_flags and call ->fasync() there if it's been set.  And lose that
crap in ->release() instances - leaving it there is still valid, but we
don't have to bother anymore.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-01 09:49:46 -07:00
..
control.c
dev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
dir.c [PATCH] fix MAY_CHDIR/MAY_ACCESS/LOOKUP_ACCESS mess 2008-07-26 20:53:21 -04:00
file.c fuse: implement nonseekable open 2008-10-16 16:08:57 +02:00
fuse_i.h fuse: add include protectors 2008-10-16 16:08:57 +02:00
inode.c [PATCH] switch all filesystems over to d_obtain_alias 2008-10-23 05:13:01 -04:00
Makefile