diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-14 20:01:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:43 -0400 |
commit | f269cad7f4bb19d4146fc1decc51f3da88257ffc (patch) | |
tree | f6d04ab28df8db9310546d10603efff3bf6a36b7 /fs/notify | |
parent | 0e2bcaae836e535236244bfc900626ee541eb7bb (diff) |
fanotify: don't wank with FASYNC on ->release()
... it's done already by __fput()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/notify')
-rw-r--r-- | fs/notify/inotify/inotify_user.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); |