Merge commit 'refs/top-bases/linux-kernel-device' into linux-kernel-device
This commit is contained in:
commit
b1917e6208
|
@ -1632,8 +1632,9 @@ zfs_ioc_objset_stats(struct file *filp, zfs_cmd_t *zc)
|
||||||
*/
|
*/
|
||||||
if (!zc->zc_objset_stats.dds_inconsistent) {
|
if (!zc->zc_objset_stats.dds_inconsistent) {
|
||||||
if (dmu_objset_type(os) == DMU_OST_ZVOL)
|
if (dmu_objset_type(os) == DMU_OST_ZVOL)
|
||||||
VERIFY(zvol_get_stats(os, nv) == 0);
|
error = zvol_get_stats(os, nv);
|
||||||
}
|
}
|
||||||
|
if (error == 0)
|
||||||
error = put_nvlist(zc, nv);
|
error = put_nvlist(zc, nv);
|
||||||
nvlist_free(nv);
|
nvlist_free(nv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue