]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
seastore: rollback a change (paddr_t -> auto)
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 03:09:04 +0000 (12:09 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:50:35 +0000 (09:50 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/btree/fixed_kv_node.h

index 2fc065b101385bc0e537a55f6cf2acbd41600210..c48d3c0e0ff88eeceb67512cfaadaa985f68de72 100644 (file)
@@ -217,7 +217,7 @@ struct FixedKVInternalNode
     LOG_PREFIX(FixedKVInternalNode::resolve_relative_addrs);
     for (auto i: *this) {
       if (i->get_val().is_relative()) {
-       paddr_t updated = base.add_relative(i->get_val());
+       auto updated = base.add_relative(i->get_val());
        SUBTRACE(seastore_fixedkv_tree, "{} -> {}", i->get_val(), updated);
        i->set_val(updated);
       }