From: Radoslaw Zarzynski Date: Mon, 7 Jun 2021 14:29:29 +0000 (+0000) Subject: crimson/osd: drop unneeded lambda mutability in ClientRequest. X-Git-Tag: v17.1.0~1724^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7973ce3e194fd36a6a39f3b779c71006b9db3a7b;p=ceph.git crimson/osd: drop unneeded lambda mutability in ClientRequest. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/crimson/osd/osd_operations/client_request.cc b/src/crimson/osd/osd_operations/client_request.cc index 75f70985af18..29283e6a2519 100644 --- a/src/crimson/osd/osd_operations/client_request.cc +++ b/src/crimson/osd/osd_operations/client_request.cc @@ -99,13 +99,13 @@ seastar::future<> ClientRequest::start() } return with_blocking_future_interruptible( handle.enter(pp(pg).await_map) - ).then_interruptible([this, &pg]() mutable { + ).then_interruptible([this, &pg] { return with_blocking_future_interruptible( pg.osdmap_gate.wait_for_map(m->get_min_epoch())); - }).then_interruptible([this, &pg](auto map) mutable { + }).then_interruptible([this, &pg](auto map) { return with_blocking_future_interruptible( handle.enter(pp(pg).wait_for_active)); - }).then_interruptible([this, &pg]() mutable { + }).then_interruptible([this, &pg]() { return with_blocking_future_interruptible( pg.wait_for_active_blocker.wait()); }).then_interruptible([this, pgref=std::move(pgref)]() mutable { @@ -119,7 +119,7 @@ seastar::future<> ClientRequest::start() } }); }) - ).then_interruptible([this, pgref]() mutable { + ).then_interruptible([this, pgref]() { sequencer.finish_op(get_id()); return seastar::stop_iteration::yes; });