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: NMatthew Wilcox <willy@infradead.org>
Showing
想要评论请 注册 或 登录