forked from Minki/linux
8a14f4d832
If the radix tree user attempted to insert a colliding entry with an existing multiorder entry, then radix_tree_create() could encounter a sibling entry when walking down the tree to look for a slot. Use radix_tree_descend() to fix the problem, and add a test-case to make sure the problem doesn't come back in future. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Cc: Konstantin Khlebnikov <koct9i@gmail.com> Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com> Cc: Jan Kara <jack@suse.com> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
generated | ||
linux | ||
.gitignore | ||
find_next_bit.c | ||
linux.c | ||
main.c | ||
Makefile | ||
multiorder.c | ||
rcupdate.c | ||
regression1.c | ||
regression2.c | ||
regression3.c | ||
regression.h | ||
tag_check.c | ||
test.c | ||
test.h |