diff options
author | jb <jb@FreeBSD.org> | 2007-11-28 22:16:00 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2007-11-28 22:16:00 +0000 |
commit | 22ebcc078a4fb976178e2d0eea4c0d1387d8ccf6 (patch) | |
tree | 73612d86f736695a0dc3ddd3a907d8421ebea87e /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c | |
parent | 22720aa033d3ec0fd7c4f18b36b27fad2b50c056 (diff) | |
download | FreeBSD-src-22ebcc078a4fb976178e2d0eea4c0d1387d8ccf6.zip FreeBSD-src-22ebcc078a4fb976178e2d0eea4c0d1387d8ccf6.tar.gz |
* Check endianness the FreeBSD way.
* Use LBOLT rather than lbolt to avoid a clash with a FreeBSD global
variable.
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c index 6e1d0a1..69ee509 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c @@ -1553,7 +1553,7 @@ zil_replay(objset_t *os, void *arg, uint64_t *txgp, txg_wait_synced(zilog->zl_dmu_pool, 0); zilog->zl_stop_replay = 0; - zilog->zl_replay_time = lbolt; + zilog->zl_replay_time = LBOLT; ASSERT(zilog->zl_replay_blks == 0); (void) zil_parse(zilog, zil_incr_blks, zil_replay_log_record, &zr, zh->zh_claim_txg); |