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:
fbb704e
)
md: Make mddev->chunk_size sector-based.
author
Andre Noll
<maan@systemlinux.org>
Wed, 17 Jun 2009 22:45:01 +0000
(08:45 +1000)
committer
NeilBrown
<neilb@suse.de>
Wed, 17 Jun 2009 22:45:01 +0000
(08:45 +1000)
This patch renames the chunk_size field to chunk_sectors with the
implied change of semantics. Since
is_power_of_2(chunk_size) = is_power_of_2(chunk_sectors << 9)
= is_power_of_2(chunk_sectors)
these bits don't need an adjustment for the shift.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
No differences found