]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: oops, fix pool thing
authorSage Weil <sage@newdream.net>
Thu, 15 Jul 2010 17:51:46 +0000 (10:51 -0700)
committerSage Weil <sage@newdream.net>
Thu, 15 Jul 2010 17:51:46 +0000 (10:51 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc

index a1f2fca40ca36f1987e3fd6186de36156eb6df0c..f19253191ad968e431bcb3a0e125a1f1b5f90358 100644 (file)
@@ -514,7 +514,7 @@ void ReplicatedPG::do_op(MOSDOp *op)
 
   if (op->may_write()) {
     // snap
-    if (pool->is_pool_snaps_mode()) {
+    if (pool->info.is_pool_snaps_mode()) {
       // use pool's snapc
       ctx->snapc = pool->snapc;
     } else {