Merge pull request #27880 from majianpeng/fio_ceph_messenger

test/fio: fix a compiler error.

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-04-30 14:49:05 +08:00 committed by GitHub
commit 1f5bb0c200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,6 @@ public:
FioDispatcher(struct ceph_msgr_data *data):
Dispatcher(g_ceph_context),
m_data(data) {
require_authorizer = false;
}
bool ms_can_fast_dispatch_any() const override {
return true;
@ -311,6 +310,7 @@ static Messenger *create_messenger(struct ceph_msgr_options *o)
}
msgr->set_auth_client(g_dummy_auth);
msgr->set_auth_server(g_dummy_auth);
msgr->set_require_authorizer(false);
msgr->start();
return msgr;