]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
radix tree test suite: Add test for idr_get_next()
authorRehas Sachdeva <aquannie@gmail.com>
Sat, 18 Feb 2017 12:31:00 +0000 (07:31 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 7 Mar 2017 18:18:18 +0000 (13:18 -0500)
commit2eacc79c27eb683c4a3ded80c2629387ee0d4e04
tree2605f9bed831cf303f256663a696423252005cc6
parent2d6be4abf514fc26c83d239c7f31da1f95e4a31d
radix tree test suite: Add test for idr_get_next()

Assert that idr_get_next() returns the next populated entry in the tree with
an ID greater than or equal to the value pointed to by @nextid argument.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
tools/testing/radix-tree/idr-test.c