From: Kefu Chai Date: Wed, 2 Jun 2021 06:11:07 +0000 (+0800) Subject: crimson/os: do not return a future in finally() X-Git-Tag: v17.1.0~1782^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=beb04ea98c21fb99b973161907aec97a8a2bb77f;p=ceph.git crimson/os: do not return a future in finally() errorator always discard the returned future. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/os/seastore/journal.h b/src/crimson/os/seastore/journal.h index 6804a47ca65f2..e244fc71536c7 100644 --- a/src/crimson/os/seastore/journal.h +++ b/src/crimson/os/seastore/journal.h @@ -172,7 +172,6 @@ public: ).finally([this] { current_journal_segment.reset(); reset_soft_state(); - return close_ertr::now(); }); }