Page MenuHomeFreeBSD

stand: Change disk_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:03 PM.
Tags
None
Referenced Files
F137326381: D37335.id113701.diff
Sat, Nov 22, 12:18 PM
Unknown Object (File)
Fri, Nov 21, 8:04 AM
Unknown Object (File)
Fri, Nov 21, 1:09 AM
Unknown Object (File)
Fri, Nov 21, 1:06 AM
Unknown Object (File)
Fri, Nov 21, 1:04 AM
Unknown Object (File)
Fri, Nov 21, 1:02 AM
Unknown Object (File)
Mon, Nov 17, 8:32 PM
Unknown Object (File)
Mon, Nov 17, 5:39 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