summaryrefslogtreecommitdiff
path: root/src/librbd.cc
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-04-19 16:14:15 -0700
committerSage Weil <sage@newdream.net>2012-04-20 16:51:01 -0700
commit5b60343710d2497bda0d53282e18ad86520a49f3 (patch)
tree24fc1134ea4d235bfba904693786b347d1ea77cb /src/librbd.cc
parent81af4e86184b214d5b508944b48d11d1394dabdb (diff)
downloadceph-5b60343710d2497bda0d53282e18ad86520a49f3.tar.gz
librbd: fix debug output
objects is misleading here, these are byte offsets Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/librbd.cc')
-rw-r--r--src/librbd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librbd.cc b/src/librbd.cc
index 2a9d6e62156..2d7c91339e6 100644
--- a/src/librbd.cc
+++ b/src/librbd.cc
@@ -966,10 +966,10 @@ int resize_helper(ImageCtx *ictx, uint64_t size, ProgressContext& prog_ctx)
}
if (size > ictx->header.image_size) {
- ldout(cct, 2) << "expanding image " << ictx->header.image_size << " -> " << size << " objects" << dendl;
+ ldout(cct, 2) << "expanding image " << ictx->header.image_size << " -> " << size << dendl;
ictx->header.image_size = size;
} else {
- ldout(cct, 2) << "shrinking image " << ictx->header.image_size << " -> " << size << " objects" << dendl;
+ ldout(cct, 2) << "shrinking image " << ictx->header.image_size << " -> " << size << dendl;
trim_image(ictx->data_ctx, ictx->header, size, prog_ctx);
ictx->header.image_size = size;
}