-
Eric Auger authored
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 <eric.auger@redhat.com>
Suggested-by:
Juan Quintela <quintela@redhat.com>
Reviewed-by:
Juan Quintela <quintela@redhat.com>
Signed-off-by:
Juan Quintela <quintela@redhat.com>Eric Auger authoredInstead 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 <eric.auger@redhat.com>
Suggested-by:
Juan Quintela <quintela@redhat.com>
Reviewed-by:
Juan Quintela <quintela@redhat.com>
Signed-off-by:
Juan Quintela <quintela@redhat.com>
Loading