]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix unable to export zpool without nfs-utils
authorChunwei Chen <tuxoko@gmail.com>
Fri, 16 Sep 2022 20:43:26 +0000 (13:43 -0700)
committerGitHub <noreply@github.com>
Fri, 16 Sep 2022 20:43:26 +0000 (13:43 -0700)
commit1b6f3368dd5b416753178da06cb19c32798671e6
tree25a9eb0e28b8feadd9d3457e414459675b60f627
parent768eacedef54922962562e601ca2c3366c4bcc4b
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
lib/libshare/os/linux/nfs.c