]> git.baikalelectronics.ru Git - kernel.git/commit
radix tree test suite: Add test for radix_tree_clear_tags()
authorRehas Sachdeva <aquannie@gmail.com>
Sun, 26 Feb 2017 11:33:00 +0000 (06:33 -0500)
committerMatthew Wilcox <mawilcox@microsoft.com>
Tue, 7 Mar 2017 18:18:19 +0000 (13:18 -0500)
commitf6eceecc262caed9b5442770e8a93ca037b676de
treeb3fca8c43ccecfabf24c913b7184e121cc1fdd43
parent88e5dc80d01ad15632d76eddef5b7ebc745d7285
radix tree test suite: Add test for radix_tree_clear_tags()

Assert that radix_tree_clear_tags() clears the tags on the passed node and
slot. Assert that the case where the radix tree has only one entry at index
zero and the node is NULL, is also handled.

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