summaryrefslogtreecommitdiffstats
path: root/lib/sg_pool.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2019-02-21 23:36:45 +0100
committerMatthew Wilcox <willy@infradead.org>2019-02-21 23:36:45 +0100
commit2fbe967b3eb7466f679307b38564b8271c093241 (patch)
treed5e97862217a0a89e538f073c7b66483438c2cca /lib/sg_pool.c
parentXArray: Use xa_cmpxchg to implement xa_reserve (diff)
downloadlinux-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