Merge pull request #31859 from rzarzynski/wip-crimson-drop_dup_failed

crimson/osd/osd_operation.h: clean up duplicative check.

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-11-26 16:06:46 +08:00 committed by GitHub
commit a6481f6b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ public:
template <typename... T>
seastar::future<T...> with_blocking_future(blocking_future<T...> &&f) {
if (f.fut.available() || f.fut.failed()) {
if (f.fut.available()) {
return std::move(f.fut);
}
assert(f.blocker);