android_kernel_xiaomi_sm8350/drivers/uio
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
..
Kconfig UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
Makefile UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio_cif.c UIO: Remove needless PCI_DEVICE_ID definition from uio_cif.c 2008-04-19 19:10:18 -07:00
uio_pdrv_genirq.c UIO: generic irq handling for some uio platform devices 2008-08-21 10:15:39 -07:00
uio_pdrv.c UIO: Change driver name of uio_pdrv 2008-10-16 09:24:53 -07:00
uio_sercos3.c UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio_smx.c UIO: Implement a UIO interface for the SMX Cryptengine 2008-04-19 19:10:18 -07:00
uio.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00