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, 14 Oct 2020 07:48:13 +0000 (09:48 +0200)
commit0ece24175756a7a50c8c21ab08c4d5ce039240e5
tree7115d40f527bef8ca54efd74e144191d8e473c89
parenta16d314ccda2efa6173f2ae7d386f99c61d273a4
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