From f269cad7f4bb19d4146fc1decc51f3da88257ffc Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Apr 2013 20:01:50 -0400 Subject: fanotify: don't wank with FASYNC on ->release() ... it's done already by __fput() Signed-off-by: Al Viro --- fs/notify/inotify/inotify_user.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'fs/notify/inotify') diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index e0f7c1241a6..1db6d886cbf 100644 --- 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); -- cgit v1.2.3-18-g5258