bpf: trivial conversions for fdget()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Aug 2024 21:34:10 +0000 (14:34 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 13 Aug 2024 22:58:21 +0000 (15:58 -0700)
commiteb80ee85801cd8e3c6f39b08830867d2afecd8f5
tree3abca875766b873d4b0a10b97942a9bd21f3c43e
parent55f325958ccc41eaea43eb4546d4dc77c1b5ef8a
bpf: trivial conversions for fdget()

fdget() is the first thing done in scope, all matching fdput() are
immediately followed by leaving the scope.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
kernel/bpf/btf.c
kernel/bpf/syscall.c
kernel/bpf/token.c