lkml.org 
[lkml]   [2005]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Fix comment in list.h that refers to nonexistent API
The hlist_for_each_entry_rcu() comment block refers to a nonexistent
hlist_add_rcu() API, needs to change to hlist_add_head_rcu().

Signed-off-by: <paulmck@us.ibm.com>
---

diff -urpN -X dontdiff linux-2.6.12-rc1/include/linux/list.h linux-2.6.12-rc1-bettersk/include/linux/list.h
--- linux-2.6.12-rc1/include/linux/list.h Tue Mar 1 23:38:10 2005
+++ linux-2.6.12-rc1-bettersk/include/linux/list.h Sat Apr 2 12:19:50 2005
@@ -692,7 +692,7 @@ static inline void hlist_add_after(struc
* @member: the name of the hlist_node within the struct.
*
* This list-traversal primitive may safely run concurrently with
- * the _rcu list-mutation primitives such as hlist_add_rcu()
+ * the _rcu list-mutation primitives such as hlist_add_head_rcu()
* as long as the traversal is guarded by rcu_read_lock().
*/
#define hlist_for_each_entry_rcu(tpos, pos, head, member) \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.023 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site