aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2012-06-05 17:36:33 +0000
committerLinus Torvalds <[email protected]>2012-06-05 17:46:40 +0000
commitfffaee365fded09f9ebf2db19066065fa54323c3 (patch)
treef6a6d331fa62c9814f9875a845afad1e7994cbde /lib/spinlock_debug.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/msz... (diff)
downloadkernel-fffaee365fded09f9ebf2db19066065fa54323c3.tar.gz
kernel-fffaee365fded09f9ebf2db19066065fa54323c3.zip
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 <[email protected]> Reported-and-bisected-by: Hans de Bruin <[email protected]> Reported-and-bisected-by: Ondrej Zary <[email protected]> Reported-bisected-and-tested-by: Toralf Förster <[email protected]> Link: https://lkml.org/lkml/2012/6/5/64 Cc: stable <[email protected]> # 3.4.x Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions