Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
1313 Integer overflow in txg_delay()
Browse files Browse the repository at this point in the history
Reviewed by: Matthew Ahrens <matt@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
  • Loading branch information
mmatuska committed Oct 19, 2011
1 parent 462453d commit 61bb40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/uts/common/fs/zfs/txg.c
Expand Up @@ -479,7 +479,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 ||
Expand Down

0 comments on commit 61bb40e

Please sign in to comment.