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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>

Thanks for the refactor. The new code is shorter and cleaner.

Acked-by: Yonghong Song <[email protected]>

---
  kernel/bpf/task_iter.c | 53 ++++++++++++++----------------------------
  1 file changed, 17 insertions(+), 36 deletions(-)

Reply via email to