Merge commit 'refs/top-bases/linux-have-mlslabel' into linux-have-mlslabel
This commit is contained in:
commit
6bf8e59f4f
|
@ -1617,9 +1617,10 @@ zfs_ioc_objset_stats(zfs_cmd_t *zc)
|
|||
*/
|
||||
if (!zc->zc_objset_stats.dds_inconsistent) {
|
||||
if (dmu_objset_type(os) == DMU_OST_ZVOL)
|
||||
VERIFY(zvol_get_stats(os, nv) == 0);
|
||||
error = zvol_get_stats(os, nv);
|
||||
}
|
||||
error = put_nvlist(zc, nv);
|
||||
if (error == 0)
|
||||
error = put_nvlist(zc, nv);
|
||||
nvlist_free(nv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue