Skip to content
Snippets Groups Projects
Commit ad9366b1 authored by Al Viro's avatar Al Viro
Browse files

take the common part of ep_eventpoll_poll() and ep_item_poll() into helper


The only reason why ep_item_poll() can't simply call ep_eventpoll_poll()
(or, better yet, call vfs_poll() in all cases) is that we need to tell
lockdep how deep into the hierarchy of ->mtx we are.  So let's add
a variant of ep_eventpoll_poll() that would take depth explicitly
and turn ep_eventpoll_poll() into wrapper for that.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 85353e91
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment