[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240807-wandmalerei-einwurf-b94bf6c33d73@brauner>
Date: Wed, 7 Aug 2024 12:43:18 +0200
From: Christian Brauner <brauner@...nel.org>
To: viro@...nel.org
Cc: linux-fsdevel@...r.kernel.org, amir73il@...il.com, bpf@...r.kernel.org,
cgroups@...r.kernel.org, kvm@...r.kernel.org, netdev@...r.kernel.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH 34/39] do_pollfd(): convert to CLASS(fd)
On Tue, Jul 30, 2024 at 01:16:20AM GMT, viro@...nel.org wrote:
> From: Al Viro <viro@...iv.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@...iv.linux.org.uk>
> ---
Reviewed-by: Christian Brauner <brauner@...nel.org>
Powered by blists - more mailing lists