os/bluestore: use correct bound encode size for unused

Signed-off-by: Haomai Wang <haomai@xsky.com>
This commit is contained in:
Haomai Wang 2017-04-22 17:26:27 +08:00 committed by GitHub
parent 66e68b32db
commit 0e7d434869

View File

@ -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 {