diff options
author | Gabriel Niebler <gniebler@suse.com> | 2022-04-26 12:51:01 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 18:03:16 +0300 |
commit | 4076942021fe14efecae33bf98566df6dd5ae6f7 (patch) | |
tree | a20e44b47bfae3f32717ba7959b77e0b2c87c4bd /fs/btrfs/extent-tree.c | |
parent | 253bf57555e451dec5a7f09dc95d380ce8b10e5b (diff) | |
download | linux-4076942021fe14efecae33bf98566df6dd5ae6f7.tar.xz |
btrfs: turn name_cache radix tree into XArray in send_ctx
… and adjust all usages of this object to use the XArray API for the sake
of consistency.
XArray API provides array semantics, so it is notionally easier to use and
understand, and it also takes care of locking for us.
None of this makes a real difference in this particular patch, but it does
in other places where similar replacements are or have been made and we
want to be consistent in our usage of data structures in btrfs.
Signed-off-by: Gabriel Niebler <gniebler@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions