Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242901
b: refs/heads/master
c: d07c9c1
h: refs/heads/master
i:
  242899: 1346936
v: v3
  • Loading branch information
Philipp Reisner committed Mar 10, 2011
1 parent 9afc7c5 commit a8c2c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd88d030d41a9b0100fd5fee872024e6ebc8b276
refs/heads/master: d07c9c10e5620c632aae9cac2b609033398f6139
1 change: 1 addition & 0 deletions trunk/drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ read_in_block(struct drbd_conf *mdev, u64 id, sector_t sector, int data_size) __

data_size -= dgs;

ERR_IF(data_size == 0) return NULL;
ERR_IF(data_size & 0x1ff) return NULL;
ERR_IF(data_size > DRBD_MAX_BIO_SIZE) return NULL;

Expand Down

0 comments on commit a8c2c41

Please sign in to comment.