diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/spa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c index ec6924a02..05e15a2e6 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -555,8 +555,7 @@ spa_prop_validate(spa_t *spa, nvlist_t *props) case ZPOOL_PROP_FAILUREMODE: error = nvpair_value_uint64(elem, &intval); - if (!error && (intval < ZIO_FAILURE_MODE_WAIT || - intval > ZIO_FAILURE_MODE_PANIC)) + if (!error && intval > ZIO_FAILURE_MODE_PANIC) error = SET_ERROR(EINVAL); /* |