Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _LINEAR_H |
2 | #define _LINEAR_H | |
3 | ||
1da177e4 LT |
4 | struct dev_info { |
5 | mdk_rdev_t *rdev; | |
4db7cdc8 | 6 | sector_t end_sector; |
1da177e4 LT |
7 | }; |
8 | ||
9 | typedef struct dev_info dev_info_t; | |
10 | ||
11 | struct linear_private_data | |
12 | { | |
d6e22150 | 13 | sector_t array_sectors; |
1da177e4 | 14 | dev_info_t disks[0]; |
495d3573 | 15 | struct rcu_head rcu; |
1da177e4 LT |
16 | }; |
17 | ||
18 | ||
19 | typedef struct linear_private_data linear_conf_t; | |
20 | ||
1da177e4 | 21 | #endif |