md: Make mddev->array_size sector-based.
authorAndre Noll <maan@systemlinux.org>
Mon, 21 Jul 2008 07:05:22 +0000 (17:05 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 21 Jul 2008 07:05:22 +0000 (17:05 +1000)
commitf233ea5c9e0d8b95e4283bf6a3436b88f6fd3586
tree8a36b621de46da23f3957c6e3ea4d653c2937544
parent15f4a5fdf3aa07b53f6a7969664741db5882e485
md: Make mddev->array_size sector-based.

This patch renames the array_size field of struct mddev_s to array_sectors
and converts all instances to use units of 512 byte sectors instead of 1k
blocks.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/faulty.c
drivers/md/linear.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
include/linux/raid/md_k.h