ut/ftl: switch to spdk_*malloc().
spdk_dma_*malloc() is about to be deprecated. Change-Id: Ia42621f3b51d276a1a13960e1f35274bdff79007 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459562 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
4617707d07
commit
966cf5b525
@ -139,7 +139,7 @@ test_free_ftl_band(struct ftl_band *band)
|
||||
spdk_bit_array_free(&band->reloc_bitmap);
|
||||
free(band->chunk_buf);
|
||||
free(band->lba_map.map);
|
||||
spdk_dma_free(band->lba_map.dma_buf);
|
||||
spdk_free(band->lba_map.dma_buf);
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
Loading…
Reference in New Issue
Block a user