Skip to content
Commit a3a51c69 authored by Song Liu's avatar Song Liu Committed by Greg Kroah-Hartman
Browse files

bpf: Simplify task_file_seq_get_next()

[ Upstream commit 91b2db27

 ]

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: default avatarSong Liu <songliubraving@fb.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201120002833.2481110-1-songliubraving@fb.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 30b491e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment