fs/epoll: Notify POLLIN directly(avoid set POLLFILE)
@@ -365,7 +365,7 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev)
return -1;
}
- poll_notify(&eph->poll, 1, eph->poll[0].events);
+ poll_notify(&eph->poll, 1, POLLIN);
return 0;
}
