mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
ceph: print debug message before put mds session
The mds session, s, could be freed during ceph_put_mds_session. Move dout before ceph_put_mds_session. Signed-off-by: Henry C Chang <henry.cy.chang@gmail.com> Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
fca65b4ad7
commit
7d8e18a69d
1 changed files with 1 additions and 1 deletions
|
@ -3304,8 +3304,8 @@ static void con_put(struct ceph_connection *con)
|
|||
{
|
||||
struct ceph_mds_session *s = con->private;
|
||||
|
||||
dout("mdsc con_put %p (%d)\n", s, atomic_read(&s->s_ref) - 1);
|
||||
ceph_put_mds_session(s);
|
||||
dout("mdsc con_put %p (%d)\n", s, atomic_read(&s->s_ref));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue