diff options
author | Matthew Wilcox <willy@infradead.org> | 2019-02-21 23:36:45 +0100 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2019-02-21 23:36:45 +0100 |
commit | 2fbe967b3eb7466f679307b38564b8271c093241 (patch) | |
tree | d5e97862217a0a89e538f073c7b66483438c2cca /lib/sg_pool.c | |
parent | XArray: Use xa_cmpxchg to implement xa_reserve (diff) | |
download | linux-2fbe967b3eb7466f679307b38564b8271c093241.tar.xz linux-2fbe967b3eb7466f679307b38564b8271c093241.zip |
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: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions