md: Removal of hash table in linear raid
[linux-2.6.git] / drivers / md / linear.h
1 #ifndef _LINEAR_H
2 #define _LINEAR_H
3
4 struct dev_info {
5         mdk_rdev_t      *rdev;
6         sector_t        num_sectors;
7         sector_t        start_sector;
8 };
9
10 typedef struct dev_info dev_info_t;
11
12 struct linear_private_data
13 {
14         struct linear_private_data *prev;       /* earlier version */
15         sector_t                array_sectors;
16         dev_info_t              disks[0];
17 };
18
19
20 typedef struct linear_private_data linear_conf_t;
21
22 #endif