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
F82207512: D21029.diff
Fri, Apr 26, 12:33 PM
Unknown Object (File)
Dec 22 2023, 10:25 PM
Unknown Object (File)
Sep 1 2023, 12:29 AM
Unknown Object (File)
Aug 17 2023, 2:01 PM
Unknown Object (File)
Aug 4 2023, 8:37 AM
Unknown Object (File)
Jan 13 2023, 12:05 PM
Unknown Object (File)
Jan 6 2023, 4:10 PM
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