HomeFreeBSD

md: Merge two switch statements in mdstart_vnode

Description

md: Merge two switch statements in mdstart_vnode

While here, use bp->bio_cmd instead of auio.uio_rw to drive read vs
write behavior.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D45155

(cherry picked from commit f75764fea34afe59f2db338b3e973eba626243ee)

Details

Provenance
jhbAuthored on May 10 2024, 8:43 PM
Reviewer
kib
Differential Revision
D45155: md: Merge two switch statements in mdstart_vnode
Parents
rG8bebcb26763a: speaker: Use standard C bool
Branches
Unknown
Tags
Unknown