Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment