Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189212
b: refs/heads/master
c: 9c42395
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Mar 23, 2010
1 parent e5efe53 commit 17a87ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f883c24de33ba929c95e018ac0ba66e4f46734b
refs/heads/master: 9c423956b8a495f0c048143abc5da955a70eac97
7 changes: 6 additions & 1 deletion trunk/fs/ceph/mds_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1567,8 +1567,13 @@ static int __do_request(struct ceph_mds_client *mdsc,

/* get, open session */
session = __ceph_lookup_mds_session(mdsc, mds);
if (!session)
if (!session) {
session = register_session(mdsc, mds);
if (IS_ERR(session)) {
err = PTR_ERR(session);
goto finish;
}
}
dout("do_request mds%d session %p state %s\n", mds, session,
session_state_name(session->s_state));
if (session->s_state != CEPH_MDS_SESSION_OPEN &&
Expand Down

0 comments on commit 17a87ce

Please sign in to comment.