aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-06-12 12:42:21 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-06-12 12:42:21 -0400
commit9502b40021dd425bdf7f13dea54783c017b9ba85 (patch)
treeb6999cce36d1aab7ae103fb6d12104be62ccc483 /lib
parent0ccbbea2d9b1253eaae376df58705bfd11d0028f (diff)
parent1f5547c7f183363eabe07e5d202a49f2e94e995a (diff)
Merge tag 'v3.4.2' into v3.4-rt
This is the 3.4.2 stable release
Diffstat (limited to 'lib')
-rw-r--r--lib/radix-tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index bfd5a2e9785d..52ebdb19f8af 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -676,6 +676,9 @@ void **radix_tree_next_chunk(struct radix_tree_root *root,
* during iterating; it can be zero only at the beginning.
* And we cannot overflow iter->next_index in a single step,
* because RADIX_TREE_MAP_SHIFT < BITS_PER_LONG.
+ *
+ * This condition also used by radix_tree_next_slot() to stop
+ * contiguous iterating, and forbid swithing to the next chunk.
*/
index = iter->next_index;
if (!index && iter->index)