HomeFreeBSD

Fix unable to export zpool without nfs-utils

Description

Fix unable to export zpool without nfs-utils

Don't return error in nfs_disable_share when nfs is not available, since
it wouldn't have been able to share in the first place.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #13534
Closes #13800

Details

Provenance
Chunwei Chen <tuxoko@gmail.com>Authored on Sep 16 2022, 8:43 PM
GitHub <noreply@github.com>Committed on Sep 16 2022, 8:43 PM
Parents
rG768eacedef54: zfs_enter rework
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG1b6f3368dd5b: Fix unable to export zpool without nfs-utils (authored by Chunwei Chen <tuxoko@gmail.com>).Sep 16 2022, 8:43 PM