Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210763
b: refs/heads/master
c: ddcf352
h: refs/heads/master
i:
  210761: fa3852f
  210759: ffd1c8c
v: v3
  • Loading branch information
NeilBrown committed Sep 17, 2010
1 parent 87eb6ef commit 62bec90
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: 126925c090155f13e90b9e7e8c4010e96027c00a
refs/heads/master: ddcf3522cf03a147c867a2e0155761652dbd156a
4 changes: 3 additions & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -1643,7 +1643,9 @@ static void super_1_sync(mddev_t *mddev, mdk_rdev_t *rdev)
bmask = queue_logical_block_size(rdev->bdev->bd_disk->queue)-1;
if (rdev->sb_size & bmask)
rdev->sb_size = (rdev->sb_size | bmask) + 1;
}
} else
max_dev = le32_to_cpu(sb->max_dev);

for (i=0; i<max_dev;i++)
sb->dev_roles[i] = cpu_to_le16(0xfffe);

Expand Down

0 comments on commit 62bec90

Please sign in to comment.