projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2bcaa
)
fanotify: don't wank with FASYNC on ->release()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 00:01:50 +0000
(20:01 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:43 +0000
(15:41 -0400)
... it's done already by __fput()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/notify/inotify/inotify_user.c
patch
|
blob
|
history
diff --git
a/fs/notify/inotify/inotify_user.c
b/fs/notify/inotify/inotify_user.c
index e0f7c1241a6adb60e03034bb118586407a24e37c..1db6d886cbf25f472b1aaeb18eb554ccacbbe059 100644
(file)
--- a/
fs/notify/inotify/inotify_user.c
+++ b/
fs/notify/inotify/inotify_user.c
@@
-287,9
+287,6
@@
static int inotify_release(struct inode *ignored, struct file *file)
pr_debug("%s: group=%p\n", __func__, group);
- if (file->f_flags & FASYNC)
- fsnotify_fasync(-1, file, 0);
-
/* free this group, matching get was inotify_init->fsnotify_obtain_group */
fsnotify_destroy_group(group);