]> git.baikalelectronics.ru Git - kernel.git/commit
idr-test: Convert ida_check_nomem to new API
authorMatthew Wilcox <willy@infradead.org>
Mon, 18 Jun 2018 21:06:58 +0000 (17:06 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:20 +0000 (23:54 -0400)
commitb7e7c1164b86f54478ba62b8b0bfab57e6a14235
tree453695915048837cd4d35dee0d30875c527bcacb
parent4640ec2e678a808be5054af35a648a11bdb5e9de
idr-test: Convert ida_check_nomem to new API

We can't move this test to kernel space because there's no way to
force kmalloc to fail.  But we can use the new API and check this
works when the test is in userspace.

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