XArray: Add xa_store_bh() and xa_store_irq()
authorMatthew Wilcox <willy@infradead.org>
Fri, 26 Oct 2018 18:41:29 +0000 (14:41 -0400)
committerMatthew Wilcox <willy@infradead.org>
Mon, 5 Nov 2018 21:38:09 +0000 (16:38 -0500)
commit84e5acb76dacb8ebd648a86a53907ce0dd616534
tree21bd8958fbf6ae3c7195931876037fc174ea5ce7
parent9c16bb88905456a9b1299338041f05fa7699971b
XArray: Add xa_store_bh() and xa_store_irq()

These convenience wrappers disable interrupts while taking the spinlock.
A number of drivers would otherwise have to open-code these functions.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Documentation/core-api/xarray.rst
include/linux/xarray.h