summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshare/nfs/libshare_nfs.c
diff options
context:
space:
mode:
authorAlan Wright <amw@Sun.COM>2009-02-17 17:43:42 -0800
committerAlan Wright <amw@Sun.COM>2009-02-17 17:43:42 -0800
commit743a77ed89085d3c232c4a2f65ab4e19576839e2 (patch)
tree4d2376e0dc8aa5a7ee5da3efa76b9a169bd7c1f5 /usr/src/lib/libshare/nfs/libshare_nfs.c
parent0bd81b6f8fb7804214192b87b0aa3f03fcf87c45 (diff)
downloadillumos-joyent-743a77ed89085d3c232c4a2f65ab4e19576839e2.tar.gz
6800942 smb_session_create() incorrectly stores IP addresses
6582163 Access Control List (ACL) for shares 6804954 smb_search - shortname field should be space padded following the NULL terminator 6800184 Panic at smb_oplock_conflict+0x35()
Diffstat (limited to 'usr/src/lib/libshare/nfs/libshare_nfs.c')
-rw-r--r--usr/src/lib/libshare/nfs/libshare_nfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libshare/nfs/libshare_nfs.c b/usr/src/lib/libshare/nfs/libshare_nfs.c
index a6d3d7802f..e045713c3c 100644
--- a/usr/src/lib/libshare/nfs/libshare_nfs.c
+++ b/usr/src/lib/libshare/nfs/libshare_nfs.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1911,7 +1911,7 @@ nfs_enable_share(sa_share_t share)
ea.uex = &export;
sa_sharetab_fill_zfs(share, &sh, "nfs");
- err = sa_share_zfs(share, path, &sh,
+ err = sa_share_zfs(share, NULL, path, &sh,
&ea, ZFS_SHARE_NFS);
sa_emptyshare(&sh);
}
@@ -2026,7 +2026,7 @@ nfs_disable_share(sa_share_t share, char *path)
sh.sh_path = path;
sh.sh_fstype = "nfs";
- err = sa_share_zfs(share, path, &sh,
+ err = sa_share_zfs(share, NULL, path, &sh,
&ea, ZFS_UNSHARE_NFS);
} else {
err = exportfs(path, NULL);