Page MenuHomeFreeBSD

stand: Change disk_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:03 PM.
Tags
None
Referenced Files
F62098945: D37335.id113701.diff
Wed, May 31, 7:34 PM
F62098697: D37335.id112851.diff
Wed, May 31, 7:27 PM
Unknown Object (File)
Apr 1 2023, 3:16 PM
Unknown Object (File)
Mar 5 2023, 6:05 PM
Unknown Object (File)
Feb 18 2023, 7:14 AM
Unknown Object (File)
Dec 26 2022, 2:57 AM
Unknown Object (File)
Dec 15 2022, 5:37 PM
Subscribers

Details

Summary

Change the first argument to disk_parsedev() to be a pointer to a struct
devdesc *. This now gets filled in with a malloc'd structure that's
returned to the caller that the caller is repsonsible for freeing. Most
places in the tree passed in a malloc'd pointer anyway, and this moves
knowledge of disk_devdesc more firmly into the disk.[ch] code.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48261
Build 45147: arc lint + arc unit