+35
−61
Loading
The ctx allocation was duplicated after both bs_alloc calling sites, so this reduces the code a bit. This change also enables some future changes involving the used_clusters bit array. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I4ea98f079dbe385654e9cb9c0c58a1926a990c9e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3973 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>