mirror of
https://github.com/ceph/ceph
synced 2025-02-06 10:23:52 +00:00
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:
commit
a6481f6b6f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user