projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
radix-tree: fix deleting a multi-order entry through an alias
[cascardo/linux.git]
/
lib
/
radix-tree.c
diff --git
a/lib/radix-tree.c
b/lib/radix-tree.c
index
c0366d1
..
b3364b9
100644
(file)
--- a/
lib/radix-tree.c
+++ b/
lib/radix-tree.c
@@
-1558,7
+1558,7
@@
void *radix_tree_delete_item(struct radix_tree_root *root,
return entry;
}
- offset =
index & RADIX_TREE_MAP_MASK
;
+ offset =
get_slot_offset(node, slot)
;
/*
* Clear all tags associated with the item to be deleted.