Re: [PATCH bpf-next] bpf: simplify task_file_seq_get_next()

2020-11-20 Thread Daniel Borkmann
On 11/20/20 1:28 AM, 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 Signed-off-by: Song Liu Applied, thanks!

Re: [PATCH bpf-next] bpf: simplify task_file_seq_get_next()

2020-11-20 Thread Yonghong Song
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 Signed-off-by: Song Liu Thanks for the refactor. The new code is shorter and cleaner. Acked-by: Yonghong So