Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f269cad7 authored by Al Viro's avatar Al Viro
Browse files

fanotify: don't wank with FASYNC on ->release()



... it's done already by __fput()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0e2bcaae
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);