]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: drop unneeded lambda mutability in ClientRequest.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 7 Jun 2021 14:29:29 +0000 (14:29 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 7 Jun 2021 14:30:48 +0000 (14:30 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/osd_operations/client_request.cc

index 75f70985af18d1ae3bb8f65ec0d50124c2a78eed..29283e6a25198959f1de7b5c264fded167bfecee 100644 (file)
@@ -99,13 +99,13 @@ seastar::future<> ClientRequest::start()
               }
               return with_blocking_future_interruptible<IOInterruptCondition>(
                 handle.enter(pp(pg).await_map)
-              ).then_interruptible([this, &pg]() mutable {
+              ).then_interruptible([this, &pg] {
                 return with_blocking_future_interruptible<IOInterruptCondition>(
                     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<IOInterruptCondition>(
                     handle.enter(pp(pg).wait_for_active));
-              }).then_interruptible([this, &pg]() mutable {
+              }).then_interruptible([this, &pg]() {
                 return with_blocking_future_interruptible<IOInterruptCondition>(
                     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;
           });