mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
XArray: Fix xas_reload for multi-index entries
xas_reload() was only checking that the head entry was still at the head index. If the entry has been split, that's not enough as there may be a different entry at the specified index now. Solve this by checking the slot for the requested index instead of the head index. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
This commit is contained in:
parent
f82cd2f0b5
commit
ca7b639e86
1 changed files with 15 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue