On 11/19/20 4:28 PM, Song Liu wrote:
Simplify task_file_seq_get_next() by removing two in/out arguments: task and fstruct. Use info->task and info->files instead. Cc: Yonghong Song <y...@fb.com> Signed-off-by: Song Liu <songliubrav...@fb.com>
Thanks for the refactor. The new code is shorter and cleaner. Acked-by: Yonghong Song <y...@fb.com>
--- kernel/bpf/task_iter.c | 53 ++++++++++++++---------------------------- 1 file changed, 17 insertions(+), 36 deletions(-)