]> granicus.if.org Git - zfs/commitdiff
Resolve stat conflict with stat()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Dec 2008 17:03:02 +0000 (09:03 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Dec 2008 17:03:02 +0000 (09:03 -0800)
module/zfs/dmu_objset.c

index 7981e06825c472b2d3b896d0b48dd1be9f6c9b77..f4f2e6d506dcef59c86c5699400c38649b3df4be 100644 (file)
@@ -960,11 +960,11 @@ dmu_objset_fsid_guid(objset_t *os)
 }
 
 void
-dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *stat)
+dmu_objset_fast_stat(objset_t *os, dmu_objset_stats_t *st)
 {
-       stat->dds_type = os->os->os_phys->os_type;
+       st->dds_type = os->os->os_phys->os_type;
        if (os->os->os_dsl_dataset)
-               dsl_dataset_fast_stat(os->os->os_dsl_dataset, stat);
+               dsl_dataset_fast_stat(os->os->os_dsl_dataset, st);
 }
 
 void