1. NAME▲
list_replace - replace old entry by new one
2. SYNOPSIS ▲
void list_replace(struct list_head * old , struct list_head * new );
3. ARGUMENTS ▲
old
the element to be replaced
new
the new element to insert
4. DESCRIPTION ▲
If old was empty, it will be overwritten.
5. COPYRIGHT ▲