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)
Fri, Mar 10, 1:30 AM
Unknown Object (File)
Sun, Mar 5, 6:05 PM
Unknown Object (File)
Sat, Mar 4, 8:46 AM
Unknown Object (File)
Feb 12 2023, 5:12 PM
Unknown Object (File)
Jan 15 2023, 5:28 AM
Unknown Object (File)
Dec 23 2022, 5:30 AM
Unknown Object (File)
Dec 18 2022, 6:53 AM
Unknown Object (File)
Nov 30 2022, 10:31 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