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-04-18 12:14:28 +10:00
2012-05-22 13:54:24 +10:00
2012-03-07 15:04:04 -05:00
2012-02-29 17:15:08 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-29 16:22:32 -07:00
2012-03-07 15:04:04 -05:00
2012-01-26 21:28:45 +01:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-02-02 10:34:23 +11:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-28 17:14:35 -07:00
2012-03-23 16:58:38 -07:00
2012-03-23 16:58:38 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-04-18 13:38:48 +02:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-02-02 00:24:04 +11:00
2012-03-07 15:04:04 -05:00
2012-04-12 12:28:46 +02:00
2012-03-07 15:04:04 -05:00
2012-05-07 16:47:32 -07:00
2012-05-31 18:18:17 -04:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-23 16:58:38 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-02 00:04:06 -07:00
2012-03-07 15:04:04 -05:00
2012-05-26 16:57:16 -07:00
2012-05-23 10:09:50 -07:00
2012-04-19 19:17:30 -07:00
2012-03-24 10:24:31 -07:00
2012-05-07 16:51:19 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-29 16:22:32 -07:00
2012-03-28 15:58:21 -07:00
2012-03-07 15:04:04 -05:00
2012-05-26 16:57:16 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-01-31 23:19:47 +02:00
2012-02-29 17:15:08 -05:00
2012-03-23 16:58:36 -07:00
2012-06-05 10:46:40 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-17 15:18:37 +02:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-03-07 15:04:04 -05:00
2012-05-29 16:22:33 -07:00
2012-04-20 23:27:08 +02:00
2012-05-29 16:22:32 -07:00
2012-03-24 10:24:31 -07:00
2012-05-26 11:33:40 -07:00
2012-05-27 20:59:46 -07:00
2012-05-29 16:22:21 -07:00
2012-03-07 15:04:04 -05:00
2012-05-29 16:22:32 -07:00
2012-03-24 10:24:31 -07:00
2012-03-07 15:04:04 -05:00
2012-05-31 17:49:27 -07:00