[PATCH 28/30] radix-tree: Fix two bugs in radix_tree_range_tag_if_tagged()

2016-04-06 Thread Matthew Wilcox
I had previously decided that tagging a single multiorder entry would count as tagging 2^order entries for the purposes of 'nr_to_tag'. I now believe that decision to be a mistake, and it should count as a single entry. That's more likely to be what callers expect. When walking back up the tree

[PATCH 28/30] radix-tree: Fix two bugs in radix_tree_range_tag_if_tagged()

2016-04-06 Thread Matthew Wilcox
I had previously decided that tagging a single multiorder entry would count as tagging 2^order entries for the purposes of 'nr_to_tag'. I now believe that decision to be a mistake, and it should count as a single entry. That's more likely to be what callers expect. When walking back up the tree