Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346153
b: refs/heads/master
c: e8cdc34
h: refs/heads/master
i:
  346151: fea2c8e
v: v3
  • Loading branch information
Philipp Reisner committed Nov 8, 2012
1 parent cce00f6 commit a8d278d
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: 6ab9b1b60b1854bf5fe68ecd51cb9550c67801ec
refs/heads/master: e8cdc3433568a1741e95c1d4412a7fb9736d0eac
3 changes: 2 additions & 1 deletion trunk/drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,8 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
/* assert something? */
if (req->rq_state & RQ_NET_PENDING) {
dec_ap_pending(mdev);
atomic_sub(req->i.size >> 9, &mdev->ap_in_flight);
if (req->rq_state & RQ_WRITE)
atomic_sub(req->i.size >> 9, &mdev->ap_in_flight);
}
req->rq_state &= ~(RQ_NET_OK|RQ_NET_PENDING);

Expand Down

0 comments on commit a8d278d

Please sign in to comment.