]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: Simplify task_file_seq_get_next()
authorSong Liu <songliubraving@fb.com>
Fri, 20 Nov 2020 00:28:33 +0000 (16:28 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 20 Nov 2020 19:36:34 +0000 (20:36 +0100)
commit91b2db27d3ff9ad29e8b3108dfbf1e2f49fe9bd3
tree7b69cd2cc416a9811f8fe9573b34c2b07250a6fe
parent450d060e8f752a6ce052a2bffd3f01633472e330
bpf: Simplify task_file_seq_get_next()

Simplify task_file_seq_get_next() by removing two in/out arguments: task
and fstruct. Use info->task and info->files instead.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201120002833.2481110-1-songliubraving@fb.com
kernel/bpf/task_iter.c