diff options
author | Andre Noll <maan@systemlinux.org> | 2008-07-21 03:05:22 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-07-21 03:05:22 -0400 |
commit | f233ea5c9e0d8b95e4283bf6a3436b88f6fd3586 (patch) | |
tree | 8a36b621de46da23f3957c6e3ea4d653c2937544 /include/linux/raid/md_k.h | |
parent | 15f4a5fdf3aa07b53f6a7969664741db5882e485 (diff) |
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>
Diffstat (limited to 'include/linux/raid/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index e37aaa41efc..6f72b47ae41 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -150,7 +150,7 @@ struct mddev_s | |||
150 | int raid_disks; | 150 | int raid_disks; |
151 | int max_disks; | 151 | int max_disks; |
152 | sector_t size; /* used size of component devices */ | 152 | sector_t size; /* used size of component devices */ |
153 | sector_t array_size; /* exported array size */ | 153 | sector_t array_sectors; /* exported array size */ |
154 | __u64 events; | 154 | __u64 events; |
155 | 155 | ||
156 | char uuid[16]; | 156 | char uuid[16]; |