epoll: massage the check list insertion
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 1 Oct 2020 20:10:11 +0000 (16:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Oct 2020 00:02:07 +0000 (20:02 -0400)
commitd9f41e3c95a17c263bd72799ea8c33ea6138dc22
treef44cf8d0831ad7d61d00447523ba5077c7cb89c0
parentb62d2706a754887800a7cec4eb0592a9263a38fc
epoll: massage the check list insertion

in the "non-epoll target" cases do it in ep_insert() rather than
in do_epoll_ctl(), so that we do it only with some epitem is already
guaranteed to exist.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/eventpoll.c