]> sourceware.org Git - lvm2.git/commit
radix_tree: api change
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 31 May 2024 19:46:19 +0000 (21:46 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 3 Jun 2024 13:30:05 +0000 (15:30 +0200)
commit88681f05f1392bf1d9b93366deb853a0918254ab
tree1d7fd50d20404463d195ad1888395ae18644d178
parent5731d06bc55db5865215a52a0cfaaf41714951d7
radix_tree: api change

Instead of using 'key state & key end' uint8_t* switch to use
void* key, & size_t keylen.  This allows easier adaptation with
lvm code base with way too much casting with every use of function.

Also correctly mark const buffers to avoid compiled warnings and
casting.

Adapt the only bcache user ATM for API change.

Adapt unit test to match changed API.
base/data-struct/radix-tree-adaptive.c
base/data-struct/radix-tree-simple.c
base/data-struct/radix-tree.h
lib/device/bcache.c
test/unit/radix_tree_t.c
This page took 0.031326 seconds and 5 git commands to generate.