diff options
| author | Ross Zwisler <[email protected]> | 2016-05-21 00:02:49 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-21 00:58:30 +0000 |
| commit | eb73f7f3300c144c4b886dd56ea4c3d2b2d58249 (patch) | |
| tree | 9c279c227ad54eaa9ae04b25af12c55e9b66e978 /tools/testing/radix-tree/multiorder.c | |
| parent | radix-tree: rewrite radix_tree_locate_item (diff) | |
| download | kernel-eb73f7f3300c144c4b886dd56ea4c3d2b2d58249.tar.gz kernel-eb73f7f3300c144c4b886dd56ea4c3d2b2d58249.zip | |
radix-tree: add test for radix_tree_locate_item()
Add a unit test that provides coverage for the bug fixed in the commit
entitled "radix-tree: rewrite radix_tree_locate_item fix" from Hugh
Dickins. I've verified that this test fails before his patch due to
miscalculated 'index' values in __locate() in lib/radix-tree.c, and
passes with his fix.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ross Zwisler <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions
