]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - lib/libzfs/libzfs_graph.c
Rebase master to b117
[mirror_zfs-debian.git] / lib / libzfs / libzfs_graph.c
index e7cbf2386014e84df08de02980beb137005733f3..bc21c51ae26c0e20daadda34d6916b222ba59afd 100644 (file)
  * CDDL HEADER END
  */
 /*
- * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
-
 /*
  * Iterate over all children of the current object.  This includes the normal
  * dataset hierarchy, but also arbitrary hierarchies due to clones.  We want to
@@ -399,13 +397,6 @@ iterate_children(libzfs_handle_t *hdl, zfs_graph_t *zgp, const char *dataset)
        for ((void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name));
            ioctl(hdl->libzfs_fd, ZFS_IOC_DATASET_LIST_NEXT, &zc) == 0;
            (void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name))) {
-
-               /*
-                * Ignore private dataset names.
-                */
-               if (dataset_name_hidden(zc.zc_name))
-                       continue;
-
                /*
                 * Get statistics for this dataset, to determine the type of the
                 * dataset and clone statistics.  If this fails, the dataset has