epoll: replace ->visited/visited_list with generation count
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Sep 2020 12:30:05 +0000 (08:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Oct 2020 06:02:55 +0000 (08:02 +0200)
commita6a47119b527f894409fb3dc6177e05c89085c64
tree58463cbd3b4a93101830796022376bd7377790b7
parentbdb43b31e65d418008a7f6718bbd2ca5ee04669a
epoll: replace ->visited/visited_list with generation count

commit 18306c404abe18a0972587a6266830583c60c928 upstream.

removes the need to clear it, along with the races.

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