Page MenuHomeFreeBSD

sbuf(9): Refactor sbuf_newbuf into sbuf_new
AbandonedPublic

Authored by cem on Jul 22 2019, 4:53 PM.
Tags
None
Referenced Files
F133355051: D21029.diff
Sat, Oct 25, 3:51 AM
Unknown Object (File)
Sat, Oct 18, 7:38 PM
Unknown Object (File)
Sat, Oct 18, 7:38 PM
Unknown Object (File)
Sat, Oct 18, 9:15 AM
Unknown Object (File)
Sat, Oct 4, 5:11 PM
Unknown Object (File)
Sat, Oct 4, 3:42 AM
Unknown Object (File)
Sep 12 2025, 3:46 PM
Unknown Object (File)
Aug 28 2025, 11:12 AM
Subscribers
None

Details

Reviewers
bapt
vangyzen
Summary

Code flow was somewhat difficult to read due to the combination of
multiple return sites and the 4x possible dynamic constructions of an
sbuf. (Future consideration: do we need all 4?) Refactored slightly to
improve legibility.

No functional change.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25457
Build 24078: arc lint + arc unit