Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347562
b: refs/heads/master
c: 7246240
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Alex Elder committed Oct 26, 2012
1 parent 4e99acd commit 05923e1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0f9831a89310cebba52d3f526e6cc5c2e403e6f1
refs/heads/master: 7246240c7c186542f73af4fadc744d66440f616f
3 changes: 2 additions & 1 deletion trunk/net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,8 @@ static int ceph_con_in_msg_alloc(struct ceph_connection *con, int *skip)
msg = con->ops->alloc_msg(con, hdr, skip);
mutex_lock(&con->mutex);
if (con->state != CON_STATE_OPEN) {
ceph_msg_put(msg);
if (msg)
ceph_msg_put(msg);
return -EAGAIN;
}
con->in_msg = msg;
Expand Down

0 comments on commit 05923e1

Please sign in to comment.