X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fraid%2Flinear.h;h=e04c4fe45b533303e1acc30f4d64c8a3cf987d36;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=70afc1dc8b43d15f36eb4693bd90dcc6d978dbe7;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/raid/linear.h b/include/linux/raid/linear.h index 70afc1dc8..e04c4fe45 100644 --- a/include/linux/raid/linear.h +++ b/include/linux/raid/linear.h @@ -5,20 +5,15 @@ struct dev_info { mdk_rdev_t *rdev; - unsigned long size; - unsigned long offset; + sector_t size; + sector_t offset; }; typedef struct dev_info dev_info_t; -struct linear_hash -{ - dev_info_t *dev0, *dev1; -}; - struct linear_private_data { - struct linear_hash *hash_table; + dev_info_t **hash_table; dev_info_t *smallest; int nr_zones; dev_info_t disks[0];