X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fspa.c;h=22fa7878cadfa537fd45e7668af417196b8cf33a;hb=55d85d5a8c45c4559a4a0e675c37b0c3afb19c2f;hp=12c24879b6197257c48390507c7c1aec7116bc75;hpb=5853fe790d1df58c5dd85ea52c5e165b6d43013c;p=zfs.git diff --git a/module/zfs/spa.c b/module/zfs/spa.c index 12c2487..22fa787 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -6078,7 +6078,7 @@ spa_sync(spa_t *spa, uint64_t txg) spa_errlog_sync(spa, txg); dsl_pool_sync(dp, txg); - if (pass <= SYNC_PASS_DEFERRED_FREE) { + if (pass < zfs_sync_pass_deferred_free) { zio_t *zio = zio_root(spa, NULL, NULL, 0); bplist_iterate(free_bpl, spa_free_sync_cb, zio, tx);