+20
−22
Loading
These are common functions that can be called from any function that reads or modifies a blob's metadata to perform necessary asserts. This will also fix several places where blob metadata functions were asserting the calling thread context, but not the current state of the blob. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I9e16c082a27c439311f8ff214335adadfa715497 Reviewed-on: https://review.gerrithub.io/401053 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Maciej Szwed <maciej.szwed@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>