diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-14 07:03:54 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-03 23:56:50 +0300 |
commit | ac23d1a964600bb9c14b5048bdf4f18ae13226f4 (patch) | |
tree | ef2d695f03415c0c47fe125fa3869d71715aca1a /include/linux/xarray.h | |
parent | 1f2cfdd349b7647f438c1e552dc1b983da86d830 (diff) | |
download | linux-ac23d1a964600bb9c14b5048bdf4f18ae13226f4.tar.xz |
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