e14cdc7d3a
This is needed for an upcoming change which will prevent metadata functions from being called on threads other than the metadata thread. Without this change, there was no way for this function to return an error if it was called from the wrong thread. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I67e591140194ff6ad250878168f6b166a1ff2282 Reviewed-on: https://review.gerrithub.io/400883 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>