]> www.infradead.org Git - users/willy/linux.git/commit
maple-tree: Handle external locking in mt_set_in_rcu()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 19:21:17 +0000 (15:21 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 19:21:17 +0000 (15:21 -0400)
commitc53374f930272a4c8be448021c5049c57b97da38
tree1a295a5dee83ed4341434aa4a61e90dacb817a71
parent5d43f289d0e876c35e8ddf8ff9e4f4bc429aef36
maple-tree: Handle external locking in mt_set_in_rcu()

If the tree is marked as externally locked, we must not take the
ma_lock.  Instead, assert that the external lock is held.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/maple_tree.h