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
..
2008-11-01 09:49:46 -07:00
2008-09-09 09:10:52 +02:00
2008-09-04 10:33:55 +02:00
2008-05-27 15:56:20 +02:00
2007-02-09 09:03:54 +01:00
2008-09-06 11:43:41 +02:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00