]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/osd_operation.h: clean up duplicative check. 31859/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 25 Nov 2019 15:27:38 +0000 (16:27 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 25 Nov 2019 15:41:04 +0000 (16:41 +0100)
commit8c1e4e34932e703c8553c3921b28da55da27eb23
treec98bc6bade8c02f75b1df052f55791d6e85aaae8
parentea78fa29ae1ce8a359e7c5a3bee1427ab48ebde9
crimson/osd/osd_operation.h: clean up duplicative check.

`seastar::future<T>::available()` already verifies whether
a future instance stores exception inside. It's unnecessary
to ensure that with further call to `failed()`.

This tiny clean-up removes the duplicative check in
`with_blocking_future()`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/osd_operation.h