Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347612
b: refs/heads/master
c: 685a755
h: refs/heads/master
v: v3
  • Loading branch information
Alex Elder committed Dec 17, 2012
1 parent 9efd01d commit a220a3c
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: 7d5f24812bd182a2471cb69c1c2baf0648332e1f
refs/heads/master: 685a7555ca69030739ddb57a47f0ea8ea80196a4
3 changes: 2 additions & 1 deletion trunk/net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static void __kick_osd_requests(struct ceph_osd_client *osdc,

dout("__kick_osd_requests osd%d\n", osd->o_osd);
err = __reset_osd(osdc, osd);
if (err == -EAGAIN)
if (err)
return;

list_for_each_entry(req, &osd->o_requests, r_osd_item) {
Expand Down Expand Up @@ -745,6 +745,7 @@ static int __reset_osd(struct ceph_osd_client *osdc, struct ceph_osd *osd)
if (list_empty(&osd->o_requests) &&
list_empty(&osd->o_linger_requests)) {
__remove_osd(osdc, osd);
ret = -ENODEV;
} else if (memcmp(&osdc->osdmap->osd_addr[osd->o_osd],
&osd->o_con.peer_addr,
sizeof(osd->o_con.peer_addr)) == 0 &&
Expand Down

0 comments on commit a220a3c

Please sign in to comment.