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
Unknown Object (File)
Mon, Jan 20, 8:16 PM
Unknown Object (File)
Fri, Jan 17, 8:10 AM
Unknown Object (File)
Dec 5 2024, 6:42 AM
Unknown Object (File)
Nov 8 2024, 7:53 PM
Unknown Object (File)
Nov 6 2024, 8:59 PM
Unknown Object (File)
Oct 4 2024, 7:57 PM
Unknown Object (File)
Oct 3 2024, 3:42 PM
Unknown Object (File)
Sep 30 2024, 10:08 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