diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-15 02:01:50 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 21:41:43 +0200 |
commit | f269cad7f4bb19d4146fc1decc51f3da88257ffc (patch) | |
tree | f6d04ab28df8db9310546d10603efff3bf6a36b7 /fs/notify/inotify | |
parent | sock_close() couldn't have been called with NULL inode since at least 2.1.early (diff) | |
download | linux-f269cad7f4bb19d4146fc1decc51f3da88257ffc.tar.xz linux-f269cad7f4bb19d4146fc1decc51f3da88257ffc.zip |
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/inotify')
-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 e0f7c1241a6a..1db6d886cbf2 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); |