+35
−58
Loading
This eliminates a bunch of code duplication. This also fixes a couple of places where the ctx->bs was not being freed in the load fail path. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ie6b0a4a653b5c80edf14086801b75457852a4736 Reviewed-on: https://review.gerrithub.io/391693 Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>