diff options
| author | 2011-02-14 13:18:51 +0100 | |
|---|---|---|
| committer | 2011-02-14 13:18:56 +0100 | |
| commit | 91e04ec05838a5b2c790decf2a91af98cb1666e8 (patch) | |
| tree | ea7373bdfab118ab6312ed3fa1fc0694ccfb38db /lib/radix-tree.c | |
| parent | x86: Don't copy per_cpu cpuinfo for BSP two times (diff) | |
| parent | Linux 2.6.38-rc4 (diff) | |
| download | wireguard-linux-91e04ec05838a5b2c790decf2a91af98cb1666e8.tar.xz wireguard-linux-91e04ec05838a5b2c790decf2a91af98cb1666e8.zip | |
Merge commit 'v2.6.38-rc4' into x86/cpu
Merge reason: pick up the latest fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
| -rw-r--r-- | lib/radix-tree.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c index 5086bb962b4d..7ea2e033d715 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -736,10 +736,11 @@ next: } } /* - * 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; |
