HomeFreeBSD

Fix backwards MD_VERIFY logic for md devices.

Description

Fix backwards MD_VERIFY logic for md devices.

If the MD_VERIFY flag is set, we should use O_VERIFY. If the MD_VERIFY flag
is not set, we should not.

Reviewed by: stevek
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D13814

Details

Provenance
jtlAuthored on
Reviewer
stevek
Differential Revision
D13814: Fix backwards MD_VERIFY logic for md devices
Parents
rS327753: Simplify some logic by merging an if test with a subsequent switch.
Branches
Unknown
Tags
Unknown