]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libzfs/libzfs_mount.c
Revert "zfs list: Allow more fields in ZFS_ITER_SIMPLE mode"
[mirror_zfs.git] / lib / libzfs / libzfs_mount.c
index fca7455f426ed56df76c9b3a798211f143ecf01c..7959933ede5a432c1b77a95f2c99dd696fa20af1 100644 (file)
@@ -1127,7 +1127,7 @@ zfs_iter_cb(zfs_handle_t *zhp, void *data)
        }
 
        libzfs_add_handle(cbp, zhp);
-       if (zfs_iter_filesystems(zhp, 0, zfs_iter_cb, cbp) != 0) {
+       if (zfs_iter_filesystems(zhp, zfs_iter_cb, cbp) != 0) {
                zfs_close(zhp);
                return (-1);
        }
@@ -1474,7 +1474,7 @@ zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags)
         * over all child filesystems.
         */
        libzfs_add_handle(&cb, zfsp);
-       if (zfs_iter_filesystems(zfsp, 0, zfs_iter_cb, &cb) != 0)
+       if (zfs_iter_filesystems(zfsp, zfs_iter_cb, &cb) != 0)
                goto out;
 
        /*