]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - lib/test_xarray.c
xarray: Add xas_for_each_conflict
authorMatthew Wilcox <willy@infradead.org>
Sat, 2 Jun 2018 02:46:02 +0000 (22:46 -0400)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:45:59 +0000 (10:45 -0400)
commit4e99d4e9579d3b950bf4b38d0d64eb1b9be78761
treea3ecd9d06b4f0eb8bb05369887c9fbe133218e01
parent64d3e9a9e0cc51957d243dd2b0adc5d74ff5e128
xarray: Add xas_for_each_conflict

This iterator iterates over each entry that is stored in the index or
indices specified by the xa_state.  This is intended for use for a
conditional store of a multiindex entry, or to allow entries which are
about to be removed from the xarray to be disposed of properly.

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