Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242915
b: refs/heads/master
c: 0356781
h: refs/heads/master
i:
  242913: 612c940
  242911: 97c4eec
v: v3
  • Loading branch information
Or Gerlitz authored and Philipp Reisner committed Mar 10, 2011
1 parent 81d765e commit 94f7de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 7961243b7bdd62d72b47eb2c0bee776c51a8a8e2
refs/heads/master: 03567812d81dd87a810b2bd1e804f4001de03da5
6 changes: 1 addition & 5 deletions trunk/drivers/block/drbd/drbd_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,11 +1127,7 @@ int drbd_make_request(struct request_queue *q, struct bio *bio)
const int sps = 1 << HT_SHIFT; /* sectors per slot */
const int mask = sps - 1;
const sector_t first_sectors = sps - (sect & mask);
bp = bio_split(bio,
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
bio_split_pool,
#endif
first_sectors);
bp = bio_split(bio, first_sectors);

/* we need to get a "reference count" (ap_bio_cnt)
* to avoid races with the disconnect/reconnect/suspend code.
Expand Down

0 comments on commit 94f7de2

Please sign in to comment.