Files
kernel_xiaomi_sm8250/include/linux
Konstantin Khlebnikov fffaee365f radix-tree: fix contiguous iterator
This patch fixes bug in macro radix_tree_for_each_contig().

If radix_tree_next_slot() sees NULL in next slot it returns NULL, but following
radix_tree_next_chunk() switches iterating into next chunk. As result iterating
becomes non-contiguous and breaks vfs "splice" and all its users.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Reported-and-bisected-by: Hans de Bruin <jmdebruin@xmsnet.nl>
Reported-and-bisected-by: Ondrej Zary <linux@rainbow-software.org>
Reported-bisected-and-tested-by: Toralf Förster <toralf.foerster@gmx.de>
Link: https://lkml.org/lkml/2012/6/5/64
Cc: stable <stable@vger.kernel.org> # 3.4.x
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-06-05 10:46:40 -07:00
..
2012-05-25 12:46:23 +05:30
2012-05-29 23:28:33 -04:00
2012-05-22 11:32:31 +02:00
2012-05-21 21:09:38 +02:00
2012-05-31 17:49:30 -07:00
2012-05-31 17:49:32 -07:00
2012-05-31 17:49:26 -07:00
2012-05-31 17:49:30 -07:00
2012-05-29 23:28:41 -04:00
2012-05-22 15:20:28 -04:00
2012-05-29 16:22:19 -07:00
2012-05-29 22:33:55 -04:00
2012-05-26 14:17:30 -04:00
2012-05-21 14:31:48 +01:00
2012-06-01 12:58:52 -04:00
2012-05-31 17:49:26 -07:00
2012-05-21 16:16:58 -07:00
2012-05-22 12:16:16 +09:30