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)
Wed, Nov 5, 2:13 PM
Unknown Object (File)
Wed, Nov 5, 5:12 AM
Unknown Object (File)
Wed, Nov 5, 4:02 AM
Unknown Object (File)
Sat, Nov 1, 5:01 PM
Unknown Object (File)
Wed, Oct 29, 10:13 PM
Unknown Object (File)
Wed, Oct 29, 4:03 AM
Unknown Object (File)
Wed, Oct 22, 6:34 PM
Unknown Object (File)
Tue, Oct 21, 10:55 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