Skip to content

Commit 9852f4d

Browse files
committed
crimson/os/seastore: adjust SeaStore::_omap_set_kvs() params
Signed-off-by: Xuehan Xu <[email protected]>
1 parent f488c01 commit 9852f4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crimson/os/seastore/seastore.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ SeaStore::Shard::_zero(
17051705

17061706
SeaStore::Shard::omap_set_kvs_ret
17071707
SeaStore::Shard::_omap_set_kvs(
1708-
OnodeRef &onode,
1708+
const OnodeRef &onode,
17091709
const omap_root_le_t& omap_root,
17101710
Transaction& t,
17111711
std::map<std::string, ceph::bufferlist>&& kvs)

src/crimson/os/seastore/seastore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ class SeaStore final : public FuturizedStore {
426426
const coll_t& cid);
427427
using omap_set_kvs_ret = tm_iertr::future<omap_root_t>;
428428
omap_set_kvs_ret _omap_set_kvs(
429-
OnodeRef &onode,
429+
const OnodeRef &onode,
430430
const omap_root_le_t& omap_root,
431431
Transaction& t,
432432
std::map<std::string, ceph::bufferlist>&& kvs);

0 commit comments

Comments
 (0)