]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/eventpoll.c
get rid of ep_push_nested()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 Sep 2020 20:29:02 +0000 (16:29 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Oct 2020 00:01:56 +0000 (20:01 -0400)
commit6a3890c474795a4a3536e0a0c39f526e415eb212
tree5d272fa32dd2dea231a765d1ab1639a3659cd3e5
parent56c428cac5a2c361271370dde3a22cb640bc9934
get rid of ep_push_nested()

The only remaining user is loop checking.  But there we only need
to check that we have not walked into the epoll we are inserting
into - we are adding an edge to acyclic graph, so any loop being
created will have to pass through the source of that edge.

So we don't need that array of cookies - we have only one eventpoll
to watch out for.  RIP ep_push_nested(), along with the cookies
array.

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