aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_checkpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/spa_checkpoint.c')
-rw-r--r--module/zfs/spa_checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_checkpoint.c b/module/zfs/spa_checkpoint.c
index 7b86bd417..5fb614467 100644
--- a/module/zfs/spa_checkpoint.c
+++ b/module/zfs/spa_checkpoint.c
@@ -212,7 +212,7 @@ spa_checkpoint_discard_sync_callback(space_map_entry_t *sme, void *arg)
uint64_t end = sme->sme_offset + sme->sme_run;
if (sdc->sdc_entry_limit == 0)
- return (EINTR);
+ return (SET_ERROR(EINTR));
/*
* Since the space map is not condensed, we know that