Page MenuHomeFreeBSD

stand: Change disk_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 31, 12:56 PM
Unknown Object (File)
Tue, Mar 31, 5:46 AM
Unknown Object (File)
Sat, Mar 21, 3:17 PM
Unknown Object (File)
Sat, Mar 21, 1:06 AM
Unknown Object (File)
Fri, Mar 20, 5:19 PM
Unknown Object (File)
Tue, Mar 17, 6:10 AM
Unknown Object (File)
Sat, Mar 14, 9:51 PM
Unknown Object (File)
Fri, Mar 13, 12:42 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 Not Applicable
Unit
Tests Not Applicable