urcu: fix comments for cds_list_for_each_prev()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Thu, 20 Dec 2012 11:13:09 +0000 (06:13 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Dec 2012 11:13:09 +0000 (06:13 -0500)
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/list.h

index f27ff7ba7900ddcf17ba9be95087d1bd4fee1c5f..5d04394f5295ac15f7593bb54fd0b5c26f4798c7 100644 (file)
@@ -141,7 +141,7 @@ cds_list_splice (struct cds_list_head *add, struct cds_list_head *head)
   for (pos = (head)->next; pos != (head); pos = pos->next)
 
 
-/* Iterate forward over the elements of the list.  */
+/* Iterate backward over the elements of the list.  */
 #define cds_list_for_each_prev(pos, head) \
   for (pos = (head)->prev; pos != (head); pos = pos->prev)
 
This page took 0.025655 seconds and 4 git commands to generate.