diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-06-07 22:03:33 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-11-03 07:28:07 +0100 |
commit | 89359897983825dbfc08578e7ee807aaf24d9911 (patch) | |
tree | 8718ab16293168f57518c9d86dd73cc42c4c0ac8 /virt | |
parent | convert do_select() (diff) | |
download | linux-89359897983825dbfc08578e7ee807aaf24d9911.tar.xz linux-89359897983825dbfc08578e7ee807aaf24d9911.zip |
do_pollfd(): convert to CLASS(fd)
lift setting ->revents into the caller, so that failure exits (including
the early one) would be plain returns.
We need the scope of our struct fd to end before the store to ->revents,
since that's shared with the failure exits prior to the point where we
can do fdget().
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions