mirror of https://gitee.com/openkylin/linux.git
fs/eventpoll.c: fix sys_epoll_create1() comment
The `size' argument was removed. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Ulrich Drepper <drepper@redhat.com> Cc: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
98b0da4307
commit
523723bb50
|
@ -1041,10 +1041,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events,
|
|||
}
|
||||
|
||||
/*
|
||||
* It opens an eventpoll file descriptor. The "size" parameter is there
|
||||
* for historical reasons, when epoll was using an hash instead of an
|
||||
* RB tree. With the current implementation, the "size" parameter is ignored
|
||||
* (besides sanity checks).
|
||||
* Open an eventpoll file descriptor.
|
||||
*/
|
||||
asmlinkage long sys_epoll_create1(int flags)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue