mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
mon/MonClient: drop unused param
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
9dd2bc8974
commit
b758fa3c98
@ -1003,7 +1003,7 @@ void MonClient::handle_mon_command_ack(MMonCommandAck *ack)
|
||||
ack->put();
|
||||
}
|
||||
|
||||
int MonClient::_cancel_mon_command(uint64_t tid, int r)
|
||||
int MonClient::_cancel_mon_command(uint64_t tid)
|
||||
{
|
||||
assert(monc_lock.is_locked());
|
||||
|
||||
@ -1053,7 +1053,7 @@ void MonClient::start_mon_command(const vector<string>& cmd,
|
||||
public:
|
||||
C_CancelMonCommand(uint64_t tid, MonClient *monc) : tid(tid), monc(monc) {}
|
||||
void finish(int r) override {
|
||||
monc->_cancel_mon_command(tid, -ETIMEDOUT);
|
||||
monc->_cancel_mon_command(tid);
|
||||
}
|
||||
};
|
||||
r->ontimeout = new C_CancelMonCommand(r->tid, this);
|
||||
|
@ -432,7 +432,7 @@ private:
|
||||
|
||||
void _send_command(MonCommand *r);
|
||||
void _resend_mon_commands();
|
||||
int _cancel_mon_command(uint64_t tid, int r);
|
||||
int _cancel_mon_command(uint64_t tid);
|
||||
void _finish_command(MonCommand *r, int ret, string rs);
|
||||
void _finish_auth();
|
||||
void handle_mon_command_ack(MMonCommandAck *ack);
|
||||
|
Loading…
Reference in New Issue
Block a user