Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232418
b: refs/heads/master
c: ac15ee6
h: refs/heads/master
v: v3
  • Loading branch information
Toshiyuki Okajima authored and Linus Torvalds committed Jan 26, 2011
1 parent 35b381f commit 363c53f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1817dc0370873caff77b924b53ae489edaf9b1e2
refs/heads/master: ac15ee691fe84cb46cbd2497ddcb10e246f7ee47
7 changes: 4 additions & 3 deletions trunk/lib/radix-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,10 +736,11 @@ unsigned long radix_tree_range_tag_if_tagged(struct radix_tree_root *root,
}
}
/*
* The iftag must have been set somewhere because otherwise
* we would return immediated at the beginning of the function
* We need not to tag the root tag if there is no tag which is set with
* settag within the range from *first_indexp to last_index.
*/
root_tag_set(root, settag);
if (tagged > 0)
root_tag_set(root, settag);
*first_indexp = index;

return tagged;
Expand Down

0 comments on commit 363c53f

Please sign in to comment.