]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: adjust SeaStore::_omap_set_kvs() params 55855/head
authorXuehan Xu <xuxuehan@qianxin.com>
Fri, 1 Mar 2024 02:32:32 +0000 (10:32 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Fri, 1 Mar 2024 02:32:32 +0000 (10:32 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/seastore.cc
src/crimson/os/seastore/seastore.h

index d3a84fc49758b8ade96719b63ebde6a43a9c186b..801667c9c30a8ba65bd92d7cd1df3006db775129 100644 (file)
@@ -1705,7 +1705,7 @@ SeaStore::Shard::_zero(
 
 SeaStore::Shard::omap_set_kvs_ret
 SeaStore::Shard::_omap_set_kvs(
-  OnodeRef &onode,
+  const OnodeRef &onode,
   const omap_root_le_t& omap_root,
   Transaction& t,
   std::map<std::string, ceph::bufferlist>&& kvs)
index 3f9ec175c9054d71de438065837821a5203c7376..e0e4d7eea929f1e0d7c3d9d8e7db65334183ea72 100644 (file)
@@ -426,7 +426,7 @@ public:
       const coll_t& cid);
     using omap_set_kvs_ret = tm_iertr::future<omap_root_t>;
     omap_set_kvs_ret _omap_set_kvs(
-      OnodeRef &onode,
+      const OnodeRef &onode,
       const omap_root_le_t& omap_root,
       Transaction& t,
       std::map<std::string, ceph::bufferlist>&& kvs);