Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71730
b: refs/heads/master
c: aa5617c
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Brassow authored and Alasdair G Kergon committed Oct 20, 2007
1 parent e3246b3 commit 2d938fb
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6b3df0d7a5e85ad2afd3eecc50e2dee59e876ae8
refs/heads/master: aa5617c55357d86c9082ba1d66fa9795370c9954
2 changes: 2 additions & 0 deletions trunk/drivers/md/dm-raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ struct region {
* Mirror set structures.
*---------------------------------------------------------------*/
struct mirror {
struct mirror_set *ms;
atomic_t error_count;
struct dm_dev *dev;
sector_t offset;
Expand Down Expand Up @@ -1017,6 +1018,7 @@ static int get_mirror(struct mirror_set *ms, struct dm_target *ti,
return -ENXIO;
}

ms->mirror[mirror].ms = ms;
ms->mirror[mirror].offset = offset;

return 0;
Expand Down

0 comments on commit 2d938fb

Please sign in to comment.