]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix compilation issue
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 15 May 2009 20:37:51 +0000 (13:37 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 15 May 2009 20:37:51 +0000 (13:37 -0700)
src/osd/OSD.cc

index 09644fadd38f5f784030704638f02e9986960682..10a357503e46996f2a4ed68556f8889f85920309 100644 (file)
@@ -2530,7 +2530,7 @@ void OSD::split_pg(PG *parent, map<pg_t,PG*>& children, ObjectStore::Transaction
       child->info.stats.num_bytes += st.st_size;
       child->info.stats.num_kb += SHIFT_ROUND_UP(st.st_size, 10);
       child->info.stats.num_objects++;
-      if (poid.oid.snap && poid.oid.snap != CEPH_NOSNAP)
+      if (poid.snap && poid.snap != CEPH_NOSNAP)
        child->info.stats.num_object_clones++;
     } else {
       dout(20) << " leaving " << poid << "   in " << parentid << dendl;