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 <yhs@xxxxxx> Signed-off-by: Song Liu <songliubraving@xxxxxx>
Thanks for the refactor. The new code is shorter and cleaner. Acked-by: Yonghong Song <yhs@xxxxxx>
--- kernel/bpf/task_iter.c | 53 ++++++++++++++---------------------------- 1 file changed, 17 insertions(+), 36 deletions(-)