X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=lib%2Flibshare%2Fnfs.c;h=00ba0f621347a5b1cafb18828cf7e4be5cfcfad2;hb=0b4d1b5853791e1e447d74f0b229800d65b53071;hp=53691ebe588f33d1149cc5729ad3d988579a4991;hpb=27ccd4147bd29e9334c57a08d99481447a19c82f;p=zfs.git diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c index 53691eb..00ba0f6 100644 --- a/lib/libshare/nfs.c +++ b/lib/libshare/nfs.c @@ -516,7 +516,7 @@ nfs_validate_shareopts(const char *shareopts) * Checks whether a share is currently active. */ static boolean_t -is_share_active(sa_share_impl_t impl_share) +nfs_is_share_active(sa_share_impl_t impl_share) { char line[512]; char *tab, *cur; @@ -587,7 +587,8 @@ nfs_update_shareopts(sa_share_impl_t impl_share, const char *resource, boolean_t needs_reshare = B_FALSE; char *old_shareopts; - FSINFO(impl_share, nfs_fstype)->active = is_share_active(impl_share); + FSINFO(impl_share, nfs_fstype)->active = + nfs_is_share_active(impl_share); old_shareopts = FSINFO(impl_share, nfs_fstype)->shareopts;