Skip to contentSkip to conversation

radix-tree-test-suite-add-new-tag-check.patch removed from -mm tree

merged [email protected] 1 participant 1 message Dec 15, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: radix tree test suite: add new tag check
has been removed from the -mm tree. Its filename was
radix-tree-test-suite-add-new-tag-check.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Matthew Wilcox <[email protected]>
Subject: radix tree test suite: add new tag check

We have a check that setting a tag on a single entry at root succeeds, but we were missing a check that clearing a tag on that same entry also succeeds.

---

 tools/testing/radix-tree/tag_check.c |    3 +++
 1 file changed, 3 insertions(+)
tools/testing/radix-tree/tag_check.c renamed from tools/testing/radix-tree/tag_check.c~radix-tree-test-suite-add-new-tag-check +3 -0
diff -puN tools/testing/radix-tree/tag_check.c~radix-tree-test-suite-add-new-tag-check tools/testing/radix-tree/tag_check.c
@@ -324,6 +324,9 @@ static void single_check(void)
 	assert(ret == 1);
 	ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1);
 	assert(ret == 1);
+	item_tag_clear(&tree, 0, 0);
+	ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0);
+	assert(ret == 0);
 	item_kill_tree(&tree);
 }
 

_

Patches currently in -mm which might be from [email protected] are

radix-tree-test-suite-fix-compilation.patch