[lttng-dev] [PATCH 1/2] urcu: fix comments for cds_list_for_each_prev()

Lai Jiangshan laijs at cn.fujitsu.com
Thu Dec 20 05:29:32 EST 2012


Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
---
 urcu/list.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/urcu/list.h b/urcu/list.h
index f27ff7b..5d04394 100644
--- a/urcu/list.h
+++ b/urcu/list.h
@@ -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)
 
-- 
1.7.4.4




More information about the lttng-dev mailing list