diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-09-26 18:32:48 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-10-25 20:02:03 -0400 |
commit | ad9366b1361fd6ed3f85f670bdb4e8af039e450c (patch) | |
tree | 160daf678f3dda2995c8b67ce33194c60bedeb47 /fs/xattr.c | |
parent | 85353e919f6eb28ee4a797b06de8cc4c48dec2d7 (diff) |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions