1
0
Fork 0
alistair23-linux/drivers/input
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
..
gameport Input: gameport - make gameport_register_driver() return errors 2008-07-30 00:41:15 -04:00
joystick USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
keyboard Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-10-16 11:52:08 -07:00
misc saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
mouse Input: psmouse - add support for Elantech touchpads 2008-10-16 22:54:35 -04:00
serio saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
tablet USB: remove info() macro from usb input drivers 2008-10-17 14:41:10 -07:00
touchscreen Merge branch 'for-rmk' of git://git.android.com/kernel into devel 2008-10-22 19:34:09 +01:00
Kconfig xen pvfb: Para-virtual framebuffer, keyboard and pointer driver 2008-04-24 23:57:33 +02:00
Makefile xen pvfb: Para-virtual framebuffer, keyboard and pointer driver 2008-04-24 23:57:33 +02:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: evbug - identify device by its sysfs ID 2008-06-30 09:36:17 -04:00
evdev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
ff-core.c drivers/input/ff-core.c needs <linux/sched.h> 2008-07-02 18:40:08 -07:00
ff-memless.c Input: use clamp_val() macro in ff-memless.c 2008-05-16 14:49:47 -04:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-polldev.c Input: remove private member from input_dev structure 2008-04-02 00:41:00 -04:00
input.c Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next 2008-07-21 00:55:14 -04:00
joydev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
mousedev.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
xen-kbdfront.c xen: clean up domain mode predicates 2008-08-20 12:40:07 +02:00