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)
Thu, Sep 26, 8:44 PM
Unknown Object (File)
Wed, Sep 25, 8:02 PM
Unknown Object (File)
Mon, Sep 23, 2:42 PM
Unknown Object (File)
Sun, Sep 22, 4:25 PM
Unknown Object (File)
Sat, Sep 21, 8:26 AM
Unknown Object (File)
Wed, Sep 18, 10:03 PM
Unknown Object (File)
Tue, Sep 10, 4:34 PM
Unknown Object (File)
Sun, Sep 1, 6:41 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 48261
Build 45147: arc lint + arc unit