Merge PR #40427 into master

* refs/pull/40427/head:
	mds: skip the buffer in UnknownPayload::decode()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2021-04-07 19:37:00 -07:00
commit c20ee8eedf
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -367,6 +367,10 @@ struct UnknownPayload {
}
void decode(bufferlist::const_iterator &iter) {
using ceph::decode;
DECODE_START(254, iter);
iter.seek(struct_len);
DECODE_FINISH(iter);
}
void dump(Formatter *f) const {