HomeFreeBSD

Replace libzfs sharing _nfs() and _smb() APIs with protocol lists

Description

Replace libzfs sharing _nfs() and _smb() APIs with protocol lists

With the additional benefit of removing all the _all() functions and
treating a NULL list as "all" ‒ the remaining all function is for all
/datasets/, which is consistent with the rest of the API

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13165

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on Feb 28 2022, 3:52 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 12 2022, 4:26 PM
Parents
rG471e9a108e51: Publish libshare protocols, use enum-based API
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGb4d9a82f6244: Replace libzfs sharing _nfs() and _smb() APIs with protocol lists (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).May 12 2022, 4:26 PM