Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97249
b: refs/heads/master
c: 84255d1
h: refs/heads/master
i:
  97247: 55cb5fc
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed May 24, 2008
1 parent cd7bba1 commit caba965
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 80119ef5c8153e0a6cc5edf00c083dc98a9bd348
refs/heads/master: 84255d1018c50e72c71a49f359989597d53a3f53
4 changes: 3 additions & 1 deletion trunk/drivers/md/raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ static int make_request(struct request_queue *q, struct bio * bio)
r1bio_t *r1_bio;
struct bio *read_bio;
int i, targets = 0, disks;
struct bitmap *bitmap = mddev->bitmap;
struct bitmap *bitmap;
unsigned long flags;
struct bio_list bl;
struct page **behind_pages = NULL;
Expand Down Expand Up @@ -802,6 +802,8 @@ static int make_request(struct request_queue *q, struct bio * bio)

wait_barrier(conf);

bitmap = mddev->bitmap;

disk_stat_inc(mddev->gendisk, ios[rw]);
disk_stat_add(mddev->gendisk, sectors[rw], bio_sectors(bio));

Expand Down

0 comments on commit caba965

Please sign in to comment.