]> git.baikalelectronics.ru Git - kernel.git/commit
xarray: Add definition of struct xarray
authorMatthew Wilcox <willy@infradead.org>
Tue, 7 Nov 2017 21:30:10 +0000 (16:30 -0500)
committerMatthew Wilcox <willy@infradead.org>
Sun, 21 Oct 2018 14:45:53 +0000 (10:45 -0400)
commitdb422efd70aaf3a0c6560aa8429c92142de3374a
tree0fcba575e83fb02fd2cb49df1ce1cc55bcd927d3
parent5f2f45f063ff62e08f75ff8550779e9c65038f09
xarray: Add definition of struct xarray

This is a direct replacement for struct radix_tree_root.  Some of the
struct members have changed name; convert those, and use a #define so
that radix_tree users continue to work without change.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Josef Bacik <jbacik@fb.com>
12 files changed:
include/linux/radix-tree.h
include/linux/xarray.h
lib/Makefile
lib/idr.c
lib/radix-tree.c
lib/xarray.c [new file with mode: 0644]
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/linux/bug.h
tools/testing/radix-tree/linux/kconfig.h [new file with mode: 0644]
tools/testing/radix-tree/multiorder.c
tools/testing/radix-tree/test.c
tools/testing/radix-tree/xarray.c [new file with mode: 0644]