]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os: do not return a future in finally()
authorKefu Chai <kchai@redhat.com>
Wed, 2 Jun 2021 06:11:07 +0000 (14:11 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Jun 2021 06:17:24 +0000 (14:17 +0800)
errorator always discard the returned future.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/journal.h

index 6804a47ca65f25bcbc5eb731f36e172ab7d1c4a7..e244fc71536c71a82007e3bb48cc72f1de5950bb 100644 (file)
@@ -172,7 +172,6 @@ public:
     ).finally([this] {
       current_journal_segment.reset();
       reset_soft_state();
-      return close_ertr::now();
     });
   }