OSDN Git Service

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)
commitf8d5d0cc145cc21bfc56ef807dc28102aebbf228
tree0fcba575e83fb02fd2cb49df1ce1cc55bcd927d3
parent02c02bf12c5d838603eed44195d3e91f094e2ab2
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]