test_ida: Move ida_check_leaf
authorMatthew Wilcox <willy@infradead.org>
Mon, 18 Jun 2018 21:23:37 +0000 (17:23 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:20 +0000 (23:54 -0400)
commit0a3856392cff1542170b5bc37211c9a21fd0c3f6
tree90504985f74c89f359565305cc0c49ae88215d2f
parent06b01113664feda7647962008e901fa540ecbf6f
test_ida: Move ida_check_leaf

Convert to new API and move to kernel space.  Take the opportunity to
test the situation a little more thoroughly (ie at different offsets).

Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_ida.c
tools/testing/radix-tree/idr-test.c