summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/fm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/fm.c b/module/zfs/fm.c
index cc5225dcb..0a0fc79bd 100644
--- a/module/zfs/fm.c
+++ b/module/zfs/fm.c
@@ -683,8 +683,7 @@ zfs_zevent_wait(zfs_zevent_t *ze)
break;
}
- error = cv_timedwait_sig(&zevent_cv, &zevent_lock,
- ddi_get_lbolt() + MSEC_TO_TICK(10));
+ error = cv_wait_sig(&zevent_cv, &zevent_lock);
if (signal_pending(current)) {
error = SET_ERROR(EINTR);
break;