Commit 523723bb authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

fs/eventpoll.c: fix sys_epoll_create1() comment

The `size' argument was removed.
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 98b0da43
...@@ -1041,10 +1041,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, ...@@ -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 * Open an eventpoll file descriptor.
* 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).
*/ */
asmlinkage long sys_epoll_create1(int flags) asmlinkage long sys_epoll_create1(int flags)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment