diff options
author | Matthew Wilcox <willy@infradead.org> | 2019-02-21 23:54:44 +0100 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2019-02-21 23:54:44 +0100 |
commit | 4a5c8d898948d1ac876522cdd62f07a78104bfe9 (patch) | |
tree | f7b60e242dc970b9f4c6524f6882a4eb9261c388 /Documentation/core-api | |
parent | XArray: Fix xa_erase of 2-byte aligned entries (diff) | |
download | linux-4a5c8d898948d1ac876522cdd62f07a78104bfe9.tar.xz linux-4a5c8d898948d1ac876522cdd62f07a78104bfe9.zip |
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: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'Documentation/core-api')
0 files changed, 0 insertions, 0 deletions