Skip to content
Commit 4a5c8d89 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

XArray: Fix xa_reserve for 2-byte aligned entries



If we reserve index 0, the next entry to be stored there might be 2-byte
aligned.  That means we have to create the root xa_node at the time of
reserving the initial entry.

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent 2fbe967b
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