[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] migration: Simplify get_qlist
From: |
Juan Quintela |
Subject: |
Re: [PATCH] migration: Simplify get_qlist |
Date: |
Mon, 27 Jan 2020 12:48:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eric Auger <address@hidden> wrote:
> Instead of inserting read elements at the head and
> then reversing the list, it is simpler to add
> each element after the previous one. Introduce
> QLIST_RAW_INSERT_AFTER helper and use it in
> get_qlist().
>
> Signed-off-by: Eric Auger <address@hidden>
> Suggested-by: Juan Quintela <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
It wis really suggested by Dave, I just gave a sample implementation
O:-)
Later, Juan.