]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - lib/xarray.c
XArray: Regularise xa_reserve
authorMatthew Wilcox <willy@infradead.org>
Tue, 30 Oct 2018 13:45:55 +0000 (09:45 -0400)
committerMatthew Wilcox <willy@infradead.org>
Mon, 5 Nov 2018 21:38:08 +0000 (16:38 -0500)
commit4c0608f4a0e76dfb82d3accd20081f4bf47ed143
tree54a22dbdebdd23830ea5c9f88c78cdc8567f2fef
parentfe2b51145c9ffd5a49013fe180e42e92ef0e6df9
XArray: Regularise xa_reserve

The xa_reserve() function was a little unusual in that it attempted to
be callable for all kinds of locking scenarios.  Make it look like the
other APIs with __xa_reserve, xa_reserve_bh and xa_reserve_irq variants.

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