From 0e7d434869a92377dac9fb970dcd933d162b60a6 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Sat, 22 Apr 2017 17:26:27 +0800 Subject: [PATCH] os/bluestore: use correct bound encode size for unused Signed-off-by: Haomai Wang --- src/os/bluestore/bluestore_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/bluestore_types.h b/src/os/bluestore/bluestore_types.h index b62a32eea6749..c38d528c881b9 100644 --- a/src/os/bluestore/bluestore_types.h +++ b/src/os/bluestore/bluestore_types.h @@ -519,7 +519,7 @@ public: denc(csum_chunk_order, p); denc_varint(csum_data.length(), p); p += csum_data.length(); - p += sizeof(unsigned long long); + p += sizeof(unused_t); } void encode(bufferlist::contiguous_appender& p, uint64_t struct_v) const { -- 2.39.5