dir, // recur start point
exported_client_map,
now);
- ::encode(exported_client_map, req->client_map);
+ ::encode(exported_client_map, req->client_map,
+ mds->mdsmap->get_up_features());
// add bounds to message
set<CDir*> bounds;
// imported caps
::decode(mdr->more()->imported_client_map, blp);
- ::encode(mdr->more()->imported_client_map, *client_map_bl);
+ ::encode(mdr->more()->imported_client_map, *client_map_bl,
+ mds->mdsmap->get_up_features());
prepare_force_open_sessions(mdr->more()->imported_client_map, mdr->more()->sseq_map);
list<ScatterLock*> updated_scatterlocks; // we clear_updated explicitly below
(*p)->state_clear(CDir::STATE_EXPORTBOUND);
if (reply) {
- ::encode(exported_client_map, reply->inode_export);
+ ::encode(exported_client_map, reply->inode_export, mds->mdsmap->get_up_features());
reply->inode_export.claim_append(inodebl);
reply->inode_export_v = srcdnl->get_inode()->inode.version;
}
void ESessions::encode(bufferlist &bl, uint64_t features) const
{
ENCODE_START(1, 1, bl);
- ::encode(client_map, bl);
+ ::encode(client_map, bl, features);
::encode(cmapv, bl);
::encode(stamp, bl);
ENCODE_FINISH(bl);