Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309476
b: refs/heads/master
c: 35f9f8a
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed May 19, 2012
1 parent ac37422 commit 5268480
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3da54776e2c0385c32d143fd497a7f40a88e29dd
refs/heads/master: 35f9f8a09e1e88e31bd34a1e645ca0e5f070dd5c
6 changes: 6 additions & 0 deletions trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,12 @@ static void register_request(struct ceph_osd_client *osdc,
static void __unregister_request(struct ceph_osd_client *osdc,
struct ceph_osd_request *req)
{
if (RB_EMPTY_NODE(&req->r_node)) {
dout("__unregister_request %p tid %lld not registered\n",
req, req->r_tid);
return;
}

dout("__unregister_request %p tid %lld\n", req, req->r_tid);
rb_erase(&req->r_node, &osdc->requests);
osdc->num_requests--;
Expand Down

0 comments on commit 5268480

Please sign in to comment.