Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292786
b: refs/heads/master
c: 547414d
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Mar 13, 2012
1 parent 5811cb0 commit 4e3ecce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 1e3fa9bd5061778fb5cf4648e4e8321e8cbbb95b
refs/heads/master: 547414d19fd72376ff2ecc42aac8d7a051f03d26
4 changes: 1 addition & 3 deletions trunk/drivers/md/raid10.c
Original file line number Diff line number Diff line change
Expand Up @@ -1682,10 +1682,8 @@ static void end_sync_write(struct bio *bio, int error)
d = find_bio_disk(conf, r10_bio, bio, &slot, &repl);
if (repl)
rdev = conf->mirrors[d].replacement;
if (!rdev) {
smp_mb();
else
rdev = conf->mirrors[d].rdev;
}

if (!uptodate) {
if (repl)
Expand Down

0 comments on commit 4e3ecce

Please sign in to comment.