Skip to content
Snippets Groups Projects
Commit 2fbe967b authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

XArray: Fix xa_erase of 2-byte aligned entries


xas_store() was interpreting the entry it found in the array as a node
entry if the bottom two bits had value 2.  That's only true if either
the entry is in the root node or in a non-leaf node.

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent 962033d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment