diff options
author | Olaf Faaland <[email protected]> | 2017-07-24 11:22:10 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-24 11:22:10 -0700 |
commit | b6e5c40382a52206f48cb26cc20ed85294e1b0a9 (patch) | |
tree | dd6385e52f9d3d524cb19bb5547482be1c70160d /cmd/zpool | |
parent | 802ae562ed817af978e2636806db1952d29ee86d (diff) |
Use correct macro for hz in mmp.c
Commit 379ca9c Multi-modifier protection (MMP) used HZ to convert
nanoseconds to ticks for use with cv_timedwait() and ddi_get_lbolt().
The correct macro is hz, which is defined within the SPL for kernel
space, and within zfs_context.h for user space.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Olaf Faaland <[email protected]>
Closes #6357
Closes #6360
Diffstat (limited to 'cmd/zpool')
0 files changed, 0 insertions, 0 deletions