Thread (134 messages) 134 messages, 10 authors, 2024-11-11

Re: [PATCH 35/39] convert bpf_token_create()

From: Christian Brauner <brauner@kernel.org>
Date: 2024-08-07 10:44:38
Also in: bpf, kvm, linux-fsdevel, netdev

On Tue, Jul 30, 2024 at 01:16:21AM GMT, viro@kernel.org wrote:
From: Al Viro <viro@zeniv.linux.org.uk>

keep file reference through the entire thing, don't bother with
grabbing struct path reference (except, for now, around the LSM
call and that only until it gets constified) and while we are
at it, don't confuse the hell out of readers by random mix of
path.dentry->d_sb and path.mnt->mnt_sb uses - these two are equal,
so just put one of those into a local variable and use that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
Reviewed-by: Christian Brauner <brauner@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help