diff options
| author | Matthew Wilcox <[email protected]> | 2017-11-07 21:30:10 +0000 |
|---|---|---|
| committer | Matthew Wilcox <[email protected]> | 2018-10-21 14:45:53 +0000 |
| commit | f8d5d0cc145cc21bfc56ef807dc28102aebbf228 (patch) | |
| tree | 0fcba575e83fb02fd2cb49df1ce1cc55bcd927d3 /tools/testing/radix-tree/xarray.c | |
| parent | xarray: Change definition of sibling entries (diff) | |
| download | kernel-f8d5d0cc145cc21bfc56ef807dc28102aebbf228.tar.gz kernel-f8d5d0cc145cc21bfc56ef807dc28102aebbf228.zip | |
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 <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
| -rw-r--r-- | tools/testing/radix-tree/xarray.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/radix-tree/xarray.c b/tools/testing/radix-tree/xarray.c new file mode 100644 index 000000000000..9bbd667172a7 --- /dev/null +++ b/tools/testing/radix-tree/xarray.c @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * xarray.c: Userspace shim for XArray test-suite + * Copyright (c) 2018 Matthew Wilcox <[email protected]> + */ + +#include "../../../lib/xarray.c" |
