git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b9837
)
md: Avoid OOPS when reshaping raid1 to raid0
author
Jes Sorensen
<Jes.Sorensen@redhat.com>
Sun, 1 Apr 2012 13:48:38 +0000
(23:48 +1000)
committer
NeilBrown
<neilb@suse.de>
Tue, 3 Apr 2012 05:37:26 +0000
(15:37 +1000)
raid1 arrays do not have the notion of chunk size. Calculate the
largest chunk sector size we can use to avoid a divide by zero OOPS
when aligning the size of the new array to the chunk size.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
No differences found