summaryrefslogtreecommitdiffstats
path: root/include/linux/radix-tree.h
diff options
context:
space:
mode:
authorAdam Barth <aurorean@gmail.com>2016-01-20 17:59:09 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-20 20:09:18 -0500
commit243c2137cda52599f6112f52b6be5e61fa6536ae (patch)
tree7b928d73a663e192217c4249c675933f89ade24c /include/linux/radix-tree.h
parent7aaf4c3e1235cca77dcc1c5a0848687e7d26a42f (diff)
include/linux/radix-tree.h: 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. Signed-off-by: Adam Barth <aurorean@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/radix-tree.h')
-rw-r--r--include/linux/radix-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 33170dbd9db4..57e7d87d2d4c 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -154,7 +154,7 @@ do { \
154 * radix_tree_gang_lookup_tag_slot 154 * radix_tree_gang_lookup_tag_slot
155 * radix_tree_tagged 155 * radix_tree_tagged
156 * 156 *
157 * The first 7 functions are able to be called locklessly, using RCU. The 157 * The first 8 functions are able to be called locklessly, using RCU. The
158 * caller must ensure calls to these functions are made within rcu_read_lock() 158 * caller must ensure calls to these functions are made within rcu_read_lock()
159 * regions. Other readers (lock-free or otherwise) and modifications may be 159 * regions. Other readers (lock-free or otherwise) and modifications may be
160 * running concurrently. 160 * running concurrently.