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, Dec 5, 7:03 PM
Unknown Object (File)
Nov 17 2024, 2:34 PM
Unknown Object (File)
Nov 7 2024, 1:46 PM
Unknown Object (File)
Nov 7 2024, 8:58 AM
Unknown Object (File)
Oct 22 2024, 10:50 PM
Unknown Object (File)
Oct 20 2024, 7:39 AM
Unknown Object (File)
Oct 20 2024, 6:52 AM
Unknown Object (File)
Oct 20 2024, 6:47 AM

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