fsnotify: make fasync generic for both inotify and fanotify
[firefly-linux-kernel-4.4.55.git] / fs / notify / notification.c
index c887b1378f7ed5087eca0df3ca745e15d9a88cc6..b3963d8c998846207eb8a0c48590c14d566630f4 100644 (file)
@@ -225,6 +225,7 @@ alloc_holder:
        mutex_unlock(&group->notification_mutex);
 
        wake_up(&group->notification_waitq);
+       kill_fasync(&group->fsn_fa, SIGIO, POLL_IN);
        return return_event;
 }