diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zfs_fm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_fm.c b/module/zfs/zfs_fm.c index 5b6bea7ae..15dbdc2a0 100644 --- a/module/zfs/zfs_fm.c +++ b/module/zfs/zfs_fm.c @@ -219,7 +219,7 @@ zfs_ereport_start(nvlist_t **ereport_out, nvlist_t **detector_out, } if ((strcmp(subclass, FM_EREPORT_ZFS_DELAY) == 0) && - !zio->io_timestamp) { + (zio != NULL) && (!zio->io_timestamp)) { /* Ignore bogus delay events */ return; } |