]> 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)
commitf7af0c1f17adf8addafec58a40a77128e0eaff28
treeb3fca8c43ccecfabf24c913b7184e121cc1fdd43
parentbcde4f997cae001a731ae7312c3ee29a4bb79c24
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