list_replace — replace old entry by new one
void list_replace (struct list_head * old, struct list_head * new);
void list_replace (
)
old
the element to be replaced
new
the new element to insert
if 'old' was empty, it will be overwritten.