diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2016-05-21 02:02:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-21 02:58:30 +0200 |
commit | 29e0967c2f66771f654cef7168c90a53737abcdf (patch) | |
tree | 95e021c42ea084842b033b590d9843fb08efb4eb /Documentation/futex-requeue-pi.txt | |
parent | radix-tree: fix sibling entry insertion (diff) | |
download | linux-29e0967c2f66771f654cef7168c90a53737abcdf.tar.xz linux-29e0967c2f66771f654cef7168c90a53737abcdf.zip |
radix-tree: fix deleting a multi-order entry through an alias
If we deleted an entry through an index which looked up a sibling
pointer, we'd end up zeroing out the wrong slots in the node. Use
get_slot_offset() to find the right slot.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Kirill Shutemov <kirill.shutemov@linux.intel.com>
Cc: Jan Kara <jack@suse.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/futex-requeue-pi.txt')
0 files changed, 0 insertions, 0 deletions