CID
1188142 (#1 of 1): Big parameter passed by value (PASS_BY_VALUE)
pass_by_value: Passing parameter header of type
GenericObjectMap::_Header (size 176 bytes) by value.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
}
void GenericObjectMap::set_header(const coll_t &cid, const ghobject_t &oid,
- _Header header, KeyValueDB::Transaction t)
+ _Header &header, KeyValueDB::Transaction t)
{
dout(20) << __func__ << " setting " << header.seq
<< " cid " << cid << " oid " << oid << " parent seq "
KeyValueDB::Transaction t);
/// Set leaf node for c and oid to the value of header
- void set_header(const coll_t &cid, const ghobject_t &oid, _Header header,
+ void set_header(const coll_t &cid, const ghobject_t &oid, _Header &header,
KeyValueDB::Transaction t);
// Move all modify member function to "protect", in order to indicate these