]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/cache: fix inappropriate lambda by-reference 64002/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 18 Jun 2025 10:09:22 +0000 (18:09 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Thu, 19 Jun 2025 01:57:30 +0000 (09:57 +0800)
captures in get_extent_viewable_by_trans()

Fixes: https://tracker.ceph.com/issues/71719
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/cache.h

index 9d3193b9e9cbf169cc45b8de689c212320edde09..3eca0e6d68d6aeea853190df6b8c598ca7991360 100644 (file)
@@ -555,7 +555,7 @@ public:
 
     return trans_intr::make_interruptible(
       p_extent->wait_io()
-    ).then_interruptible([p_extent, needs_touch, needs_step_2, &t, this, &t_src] {
+    ).then_interruptible([p_extent, needs_touch, needs_step_2, &t, this, t_src] {
       if (needs_step_2) {
        t.maybe_add_to_read_set_step_2(p_extent);
       }