]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 24 Sep 2011 00:22:17 +0000 (17:22 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 24 Sep 2011 00:22:17 +0000 (17:22 -0700)
src/cls_rgw.cc

index 07ed423f395bd82a24da28d79b5b6f8d740109c8..5a299ef8ad5589dfac2a898f0e1e4fb6a98a645d 100644 (file)
@@ -200,7 +200,7 @@ int rgw_bucket_complete_op(cls_method_context_t hctx, bufferlist *in, bufferlist
       return 0;
     }
 
-    if (entry.exists) {
+    if (entry->exists) {
       struct rgw_bucket_category_stats& stats = dir.header.stats[entry->meta.category];
       stats.num_entries--;
       stats.total_size -= entry->meta.size;