Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345912
b: refs/heads/master
c: 73218a3
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent 8a64662 commit 1cd0b6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: db1b0b724e56f34608b76197191ef0577a1ddd45
refs/heads/master: 73218a3c4c7ae87014b8fc258f8a16a75aad2870
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ int drbd_send_oos(struct drbd_conf *mdev, struct drbd_request *req)
p.sector = cpu_to_be64(req->i.sector);
p.blksize = cpu_to_be32(req->i.size);

return !drbd_send_cmd(mdev, &mdev->tconn->data, P_OUT_OF_SYNC, &p.head, sizeof(p));
return drbd_send_cmd(mdev, &mdev->tconn->data, P_OUT_OF_SYNC, &p.head, sizeof(p));
}

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ int w_send_oos(struct drbd_work *w, int cancel)
return 1;
}

ok = drbd_send_oos(mdev, req);
ok = !drbd_send_oos(mdev, req);
req_mod(req, OOS_HANDED_TO_NETWORK);

return ok;
Expand Down

0 comments on commit 1cd0b6f

Please sign in to comment.