Commit d60fa400 authored by Konrad Sztyber's avatar Konrad Sztyber Committed by Tomasz Zawadzki
Browse files

lib/blob: add missing dereference in blob_get_snapshot_and_clone_entries



The assertion should verify that a clone has been found.  Without the
dereference, it makes no sense, as that pointer is dereferenced earlier.

Signed-off-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I67fa17b33df6d507822a17ffc221a6d360985646
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8919


Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 56d702ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3029,7 +3029,7 @@ blob_get_snapshot_and_clone_entries(struct spdk_blob *blob,
			}
		}

		assert(clone_entry != NULL);
		assert(*clone_entry != NULL);
	}
}