]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
XArray: Turn xa_erase into an exported function
authorMatthew Wilcox <willy@infradead.org>
Mon, 5 Nov 2018 20:48:49 +0000 (15:48 -0500)
committerMatthew Wilcox <willy@infradead.org>
Mon, 5 Nov 2018 21:38:09 +0000 (16:38 -0500)
commit9c16bb88905456a9b1299338041f05fa7699971b
tree9396efce15dc79286b590c5740397f7f2bcc13c1
parentc5beb07e7a06b24f4f27304f6282b5dbd929543b
XArray: Turn xa_erase into an exported function

Make xa_erase() take the spinlock and then call __xa_erase(), but make
it out of line since it's such a common function.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/xarray.h
lib/xarray.c