Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345919
b: refs/heads/master
c: a896527
h: refs/heads/master
i:
  345917: 3aa27c0
  345915: 9705b11
  345911: 8a64662
  345903: e14a774
  345887: 736d9db
  345855: 7dcdeb1
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Philipp Reisner committed Nov 8, 2012
1 parent fcd4d91 commit 9dc3f12
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: 6bdb9b0e230aae94b084d8a375363ada056653b5
refs/heads/master: a896527c0658f9073413d46c2401448cdc0427ff
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ static inline int drbd_send_short_cmd(struct drbd_conf *mdev,
enum drbd_packet cmd)
{
struct p_header h;
return !drbd_send_cmd(mdev, &mdev->tconn->data, cmd, &h, sizeof(h));
return drbd_send_cmd(mdev, &mdev->tconn->data, cmd, &h, sizeof(h));
}

static inline int drbd_send_ping(struct drbd_tconn *tconn)
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 @@ -1227,7 +1227,7 @@ int w_send_write_hint(struct drbd_work *w, int cancel)
struct drbd_conf *mdev = w->mdev;
if (cancel)
return 1;
return drbd_send_short_cmd(mdev, P_UNPLUG_REMOTE);
return !drbd_send_short_cmd(mdev, P_UNPLUG_REMOTE);
}

int w_send_oos(struct drbd_work *w, int cancel)
Expand Down

0 comments on commit 9dc3f12

Please sign in to comment.