]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit06b01113664feda7647962008e901fa540ecbf6f
tree453695915048837cd4d35dee0d30875c527bcacb
parent8ab8ba38d48867aac01812e18f48fc9173ccd400
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