Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243540
b: refs/heads/master
c: fbdb919
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil committed Mar 29, 2011
1 parent 8b1d931 commit 66d22a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 234af26ff123dfb2aa48772124721b1354c8e0a5
refs/heads/master: fbdb9190482fd83a3eb20cdeb0da454759f479d7
6 changes: 3 additions & 3 deletions trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,7 @@ static void __unregister_request(struct ceph_osd_client *osdc,
dout("moving osd to %p lru\n", req->r_osd);
__move_osd_to_lru(osdc, req->r_osd);
}
if (list_empty(&req->r_osd_item) &&
list_empty(&req->r_linger_item))
if (list_empty(&req->r_linger_item))
req->r_osd = NULL;
}

Expand Down Expand Up @@ -883,7 +882,8 @@ static void __unregister_linger_request(struct ceph_osd_client *osdc,
dout("moving osd to %p lru\n", req->r_osd);
__move_osd_to_lru(osdc, req->r_osd);
}
req->r_osd = NULL;
if (list_empty(&req->r_osd_item))
req->r_osd = NULL;
}
}

Expand Down

0 comments on commit 66d22a4

Please sign in to comment.