path: root/tools/virtio/uapi
diff options
authorMatthew Wilcox <>2016-05-20 17:03:36 -0700
committerLinus Torvalds <>2016-05-20 17:58:30 -0700
commit8c1244de00ef98f73e21eecc42d84b2742fbb4f9 (patch)
tree387657f853337b8fffe77215c9254c2ccb2a2ca4 /tools/virtio/uapi
parentaf49a63e101eb62376cc1d6bd25b97eb8c691d54 (diff)
radix-tree: tidy up next_chunk
Convert radix_tree_next_chunk to use 'child' instead of 'slot' as the name of the child node. Also use node_maxindex() where it makes sense. The 'rnode' variable was unnecessary; it doesn't overlap in usage with 'node', so we can just use 'node' the whole way through the function. Improve the testcase to start the walk from every index in the carefully constructed tree, and to accept any index within the range covered by the entry. Signed-off-by: Matthew Wilcox <> Cc: Konstantin Khlebnikov <> Cc: Kirill Shutemov <> Cc: Jan Kara <> Cc: Neil Brown <> Cc: Ross Zwisler <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'tools/virtio/uapi')
0 files changed, 0 insertions, 0 deletions