+1
−35
Loading
The code is exactly the same - we can just have spdk_mem_map_clear_translation call spdk_mem_map_set_translation with translation = map->default_translation. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I6a2ce39b0397be9d29b1a4c1cdfba15025afba7a Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476529 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>