Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16541
b: refs/heads/master
c: 220946c
h: refs/heads/master
i:
  16539: efa4388
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Jan 6, 2006
1 parent fddf8c9 commit b342015
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: d11c171e636cfd2df818cf3411d88222c2f4fcef
refs/heads/master: 220946c9018de74b952446e3a4dff1bfd4cbf310
3 changes: 2 additions & 1 deletion trunk/drivers/md/raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ static int raid1_end_read_request(struct bio *bio, unsigned int bytes_done, int
* user-side. So if something waits for IO, then it will
* wait for the 'master' bio.
*/
set_bit(R1BIO_Uptodate, &r1_bio->state);
if (uptodate)
set_bit(R1BIO_Uptodate, &r1_bio->state);

raid_end_bio_io(r1_bio);
} else {
Expand Down

0 comments on commit b342015

Please sign in to comment.