fs/epoll: Notify POLLIN directly(avoid set POLLFILE)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e99c76a313
commit
523da07778
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user