Skip to content

Commit 48588a3

Browse files
fix poller unregister
1 parent 4a6ee21 commit 48588a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/blob/blobstore.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -13543,7 +13543,7 @@ _blob_start_snapshot_backup(void *ctx) {
1354313543
sctx->blob->flush_jobs = calloc(sctx->nmax_flush_jobs, sizeof(struct t_flush_job));
1354413544
if (!sctx->blob->flush_jobs) {
1354513545
spdk_put_io_channel(sctx->blob->backup_channel);
13546-
spdk_poller_unregister(sctx->blob->backup_poller);
13546+
spdk_poller_unregister(&sctx->blob->backup_poller);
1354713547
sctx->compl.rc = -ENOMEM;
1354813548
} else {
1354913549
for (int i = 0; i < sctx->nmax_flush_jobs; ++i) {

0 commit comments

Comments
 (0)