aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xarray.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2020-03-31 18:23:59 +0000
committerMatthew Wilcox (Oracle) <[email protected]>2020-10-07 13:11:33 +0000
commit062b735912b9f3aa3e14cd02b5ede08cf8bc093f (patch)
tree4bc56a35df9ffe304f552cfc7f882266f152a92e /lib/xarray.c
parentida: Free allocated bitmap in error path (diff)
downloadkernel-062b735912b9f3aa3e14cd02b5ede08cf8bc093f.tar.gz
kernel-062b735912b9f3aa3e14cd02b5ede08cf8bc093f.zip
XArray: Test two more things about xa_cmpxchg
1. If we xa_cmpxchg() an entry in, it marks the index as not free. 2. If we xa_cmpxchg() NULL in, it marks the index as free. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions