Skip to content

Commit

Permalink
mds: fix MDSRank::send_message_client_counted()
Browse files Browse the repository at this point in the history
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 28f35b5)
  • Loading branch information
ukernel authored and tchaikov committed Jul 10, 2018
1 parent 42fa4bd commit c4969e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mds/MDSRank.cc
Expand Up @@ -1017,7 +1017,7 @@ void MDSRank::send_message_client_counted(Message *m, client_t client)
void MDSRank::send_message_client_counted(Message *m, Connection *connection)
{
// do not carry ref
auto session = static_cast<Session *>(m->get_connection()->get_priv().get());
auto session = static_cast<Session *>(connection->get_priv().get());
if (session) {
send_message_client_counted(m, session);
} else {
Expand Down

0 comments on commit c4969e0

Please sign in to comment.