On Wed, 2011-09-07 at 08:55 +0800, Huang Ying wrote:> 2) make llist_add return whether list is empty before addingThat seems the sanest approach, it needs to set entry->next anyway, soit might as well return the last known state.