summaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-03-31 14:33:13 +1100
committerNeilBrown <neilb@suse.de>2009-03-31 14:33:13 +1100
commitdd8ac336c13fd8afdb082ebacb1cddd5cf727889 (patch)
tree0baa8111d7406774525a1053be461135257d73d2 /drivers/md/raid5.c
parent58c0fed400603a802968b23ddf78f029c5a84e41 (diff)
downloadlwn-dd8ac336c13fd8afdb082ebacb1cddd5cf727889.tar.gz
lwn-dd8ac336c13fd8afdb082ebacb1cddd5cf727889.zip
md: Represent raid device size in sectors.
This patch renames the "size" field of struct mdk_rdev_s to "sectors" and changes this field to store sectors instead of blocks. All users of this field, linear.c, raid0.c and md.c, are fixed up accordingly which gets rid of many multiplications and divisions. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions