From e36b43f6447609d7d483ccc1a08506eef12d1a3f Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Wed, 18 Jun 2025 18:09:22 +0800 Subject: [PATCH] crimson/os/seastore/cache: fix inappropriate lambda by-reference captures in get_extent_viewable_by_trans() Fixes: https://tracker.ceph.com/issues/71719 Signed-off-by: Xuehan Xu --- src/crimson/os/seastore/cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/os/seastore/cache.h b/src/crimson/os/seastore/cache.h index 9d3193b9e9cbf..3eca0e6d68d6a 100644 --- a/src/crimson/os/seastore/cache.h +++ b/src/crimson/os/seastore/cache.h @@ -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); } -- 2.39.5