Skip to contentSkip to conversation

lib: radix_tree: Fix error in docs about locks

PATCH Superseded Adam Barth 1 participant 1 message Dec 21, 2015 VFS

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Adam Barth

author
#0 lore raw

PATCH 1/1 lib: radix_tree: Fix error in docs about locks

This text refers to the "first 7 functions", which was correct when written but became incorrect when Johannes Weiner added another function to the list in 139e561660fe ("lib: radix_tree: tree node interface").

Change the text to correctly refer to the first 8 functions.

---
 include/linux/radix-tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/radix-tree.h +1 -1
index 33170db..57e7d87 100644
@@ -154,7 +154,7 @@ do {									\
  * radix_tree_gang_lookup_tag_slot
  * radix_tree_tagged
  *
- * The first 7 functions are able to be called locklessly, using RCU. The
+ * The first 8 functions are able to be called locklessly, using RCU. The
  * caller must ensure calls to these functions are made within rcu_read_lock()
  * regions. Other readers (lock-free or otherwise) and modifications may be
  * running concurrently.
Signature · 1 line
1.9.1