projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44f520
)
fanotify: quit wanking with FASYNC in ->release()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 16 Jun 2013 15:08:36 +0000
(19:08 +0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:57:23 +0000
(12:57 +0400)
... especially since there's no way to get that sucker
on the list fsnotify_fasync() works with - the only thing
adding to it is fsnotify_fasync() itself and it's never
called for fanotify files while they are opened.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/notify/fanotify/fanotify_user.c
patch
|
blob
|
history
diff --git
a/fs/notify/fanotify/fanotify_user.c
b/fs/notify/fanotify/fanotify_user.c
index
6c80083
..
1ea52f7
100644
(file)
--- a/
fs/notify/fanotify/fanotify_user.c
+++ b/
fs/notify/fanotify/fanotify_user.c
@@
-399,9
+399,6
@@
static int fanotify_release(struct inode *ignored, struct file *file)
wake_up(&group->fanotify_data.access_waitq);
#endif
- if (file->f_flags & FASYNC)
- fsnotify_fasync(-1, file, 0);
-
/* matches the fanotify_init->fsnotify_alloc_group */
fsnotify_destroy_group(group);