]> www.infradead.org Git - users/willy/linux.git/commit
maple tree: Add mt_locked()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 19 Oct 2021 18:38:26 +0000 (14:38 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 19 Oct 2021 18:38:26 +0000 (14:38 -0400)
commit3b3bd05b91d9434f8d8e58ba60734455699653c4
tree864aab80e1ace2b4a4fc319e1a94c05d7ff6aa9c
parentc9ad27cdff44e353cec322f46913925ffc39a397
maple tree: Add mt_locked()

This predicate asks whether the maple tree is locked.  For externally
locked trees, we always return true as we don't know what locking they
might have.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
lib/maple_tree.c