summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshare/common/libshare_zfs.c
diff options
context:
space:
mode:
authorMatthew Ahrens <mahrens@delphix.com>2014-07-07 20:12:39 -0800
committerChristopher Siden <chris@delphix.com>2014-07-07 21:12:40 -0700
commit33cde0d0c27645bc9ec94c4d2955193c3dd4027c (patch)
treebc035762e09648a59eb6eff3a4c56798bf0bac80 /usr/src/lib/libshare/common/libshare_zfs.c
parent4bb73804952172060c9efb163b89c17f56804fe8 (diff)
downloadillumos-gate-33cde0d0c27645bc9ec94c4d2955193c3dd4027c.tar.gz
4953 zfs rename <snapshot> need not involve libshare
4954 "zfs create" need not involve libshare if we are not sharing 4955 libshare's get_zfs_dataset need not sort the datasets Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/lib/libshare/common/libshare_zfs.c')
-rw-r--r--usr/src/lib/libshare/common/libshare_zfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libshare/common/libshare_zfs.c b/usr/src/lib/libshare/common/libshare_zfs.c
index 7d3ee27a2d..ba65167594 100644
--- a/usr/src/lib/libshare/common/libshare_zfs.c
+++ b/usr/src/lib/libshare/common/libshare_zfs.c
@@ -24,6 +24,7 @@
*/
/*
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2012, 2014 by Delphix. All rights reserved.
*/
#include <stdio.h>
@@ -279,7 +280,6 @@ get_zfs_dataset(sa_handle_impl_t impl_handle, char *path,
char canmount[ZFS_MAXPROPLEN];
get_all_filesystems(impl_handle, &zlist, &count);
- qsort(zlist, count, sizeof (void *), mountpoint_compare);
for (i = 0; i < count; i++) {
/* must have a mountpoint */
if (zfs_prop_get(zlist[i], ZFS_PROP_MOUNTPOINT, mountpoint,