Page MenuHomeFreeBSD

stand: Change zfs_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 10:54 PM
Unknown Object (File)
Tue, Sep 8, 9:53 PM
Unknown Object (File)
Mon, Sep 7, 12:11 PM
Unknown Object (File)
Mon, Sep 7, 2:31 AM
Unknown Object (File)
Sun, Sep 6, 5:51 AM
Unknown Object (File)
Sun, Sep 6, 3:58 AM
Unknown Object (File)
Sun, Sep 6, 3:23 AM
Unknown Object (File)
Sat, Sep 5, 3:23 PM

Details

Summary

Change the first argument to zfs_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 zfs_devdesc more firmly into the zfs.c code.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable