Commit dc833ba4 authored by Mike Gerdts's avatar Mike Gerdts Committed by Tomasz Zawadzki
Browse files

blob: misleading error message when copy xattr



An error path in bs_snapshot_copy_xattr() mentioned a specific xattr
which may or may not be what was being copied. This removes mention of
that xattr.

Signed-off-by: default avatarMike Gerdts <mgerdts@nvidia.com>
Change-Id: Ia0c31cb83bfda4c8c5b018b5f880a6f5675452e8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18397


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent b7e27e04
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6241,8 +6241,7 @@ bs_snapshot_copy_xattr(struct spdk_blob *toblob, struct spdk_blob *fromblob, con

	bserrno = blob_get_xattr_value(fromblob, name, &val, &len, true);
	if (bserrno != 0) {
		SPDK_ERRLOG("blob 0x%" PRIx64 " missing %s xattr"
			    BLOB_EXTERNAL_SNAPSHOT_ID " XATTR\n", fromblob->id, name);
		SPDK_ERRLOG("blob 0x%" PRIx64 " missing %s XATTR\n", fromblob->id, name);
		return bserrno;
	}