mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
Revert "zfs list: Allow more fields in ZFS_ITER_SIMPLE mode"
This reverts commit f6a0dac84a.
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #12938
This commit is contained in:
@@ -2044,7 +2044,7 @@ zfs_ioc_objset_stats_impl(zfs_cmd_t *zc, objset_t *os)
|
||||
|
||||
dmu_objset_fast_stat(os, &zc->zc_objset_stats);
|
||||
|
||||
if (!zc->zc_simple && zc->zc_nvlist_dst != 0 &&
|
||||
if (zc->zc_nvlist_dst != 0 &&
|
||||
(error = dsl_prop_get_all(os, &nv)) == 0) {
|
||||
dmu_objset_stats(os, nv);
|
||||
/*
|
||||
@@ -2331,7 +2331,6 @@ zfs_ioc_snapshot_list_next(zfs_cmd_t *zc)
|
||||
}
|
||||
|
||||
if (zc->zc_simple) {
|
||||
dsl_dataset_fast_stat(ds, &zc->zc_objset_stats);
|
||||
dsl_dataset_rele(ds, FTAG);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user