Re: [PATCH 34/39] do_pollfd(): convert to CLASS(fd)
From: Christian Brauner <brauner@kernel.org>
Date: 2024-08-07 10:43:23
Also in:
bpf, cgroups, kvm, linux-fsdevel
From: Christian Brauner <brauner@kernel.org>
Date: 2024-08-07 10:43:23
Also in:
bpf, cgroups, kvm, linux-fsdevel
On Tue, Jul 30, 2024 at 01:16:20AM GMT, viro@kernel.org wrote:
From: Al Viro <viro@zeniv.linux.org.uk> 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(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> ---
Reviewed-by: Christian Brauner <brauner@kernel.org>