]> git.baikalelectronics.ru Git - kernel.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)
commitf013348613f8e91e06f0630c580336094dc71c41
tree2605f9bed831cf303f256663a696423252005cc6
parentaf21e89b0ef97a736ce7e1e3966bd9599e6a97e2
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