233e70f422
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> |
||
---|---|---|
.. | ||
usbhid | ||
Kconfig | ||
Makefile | ||
hid-a4tech.c | ||
hid-apple.c | ||
hid-belkin.c | ||
hid-bright.c | ||
hid-cherry.c | ||
hid-chicony.c | ||
hid-core.c | ||
hid-cypress.c | ||
hid-debug.c | ||
hid-dell.c | ||
hid-dummy.c | ||
hid-ezkey.c | ||
hid-gyration.c | ||
hid-ids.h | ||
hid-input.c | ||
hid-lg.c | ||
hid-lg.h | ||
hid-lg2ff.c | ||
hid-lgff.c | ||
hid-microsoft.c | ||
hid-monterey.c | ||
hid-petalynx.c | ||
hid-pl.c | ||
hid-samsung.c | ||
hid-sony.c | ||
hid-sunplus.c | ||
hid-tmff.c | ||
hid-zpff.c | ||
hidraw.c |