aboutsummaryrefslogtreecommitdiff
path: root/include/linux/xarray.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-12-13 23:03:54 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-03 15:56:50 -0500
commitac23d1a964600bb9c14b5048bdf4f18ae13226f4 (patch)
treeef2d695f03415c0c47fe125fa3869d71715aca1a /include/linux/xarray.h
parent1f2cfdd349b7647f438c1e552dc1b983da86d830 (diff)
XArray: Document the locking requirement for the xa_state
It wasn't obvious to all readers that it's unsafe to reuse an xa_state after dropping the xas_lock() or the rcu_read_lock(). Reported-by: Charan Teja Kalla <charante@codeaurora.org> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions