Page MenuHomeFreeBSD

stand: Change disk_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:03 PM.
Tags
None
Referenced Files
F166180817: D37335.id112851.diff
Wed, Aug 12, 4:32 AM
Unknown Object (File)
Tue, Aug 11, 12:36 AM
Unknown Object (File)
Mon, Aug 10, 1:55 PM
Unknown Object (File)
Fri, Jul 31, 7:01 AM
Unknown Object (File)
Tue, Jul 28, 11:32 AM
Unknown Object (File)
Mon, Jul 27, 8:05 AM
Unknown Object (File)
Sat, Jul 25, 11:37 AM
Unknown Object (File)
Sat, Jul 25, 8:32 AM
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 Not Applicable
Unit
Tests Not Applicable