This is mostly to reduce the diff with CheriBSD which adds additional
constants to enum uio_rw, but also matches the normal style used for
uio_segflg.
Obtained from: CheriBSD
Differential D45142
uio: Use switch statements when handling UIO_READ vs UIO_WRITE jhb on May 9 2024, 6:04 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions I ended up reworking md.c to check the bio->bp_cmd instead which I think is cleaner. I haven't posted a review for that change yet but will in a bit.
|