X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Ftxg.c;fp=module%2Fzfs%2Ftxg.c;h=d0d2b1716e88688df4d05857f537d2af7f0feb39;hb=cddafdcbc55a38cdbdd3dc8c58f447b22bd847ee;hp=340c42ae84a395333d314507616ec4eb6deba848;hpb=0b7936d5c2337bc976ac831c1c38de563844c36b;p=zfs.git diff --git a/module/zfs/txg.c b/module/zfs/txg.c index 340c42a..d0d2b17 100644 --- a/module/zfs/txg.c +++ b/module/zfs/txg.c @@ -506,7 +506,7 @@ void txg_delay(dsl_pool_t *dp, uint64_t txg, int ticks) { tx_state_t *tx = &dp->dp_tx; - int timeout = ddi_get_lbolt() + ticks; + clock_t timeout = ddi_get_lbolt() + ticks; /* don't delay if this txg could transition to quiesing immediately */ if (tx->tx_open_txg > txg ||