Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINEAR_H |
| 2 | #define _LINEAR_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | struct dev_info { |
| 5 | mdk_rdev_t *rdev; |
Sandeep K Sinha | 4db7cdc | 2009-06-16 16:56:13 +1000 | [diff] [blame] | 6 | sector_t end_sector; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | }; |
| 8 | |
| 9 | typedef struct dev_info dev_info_t; |
| 10 | |
| 11 | struct linear_private_data |
| 12 | { |
Andre Noll | d6e2215 | 2008-07-21 17:05:25 +1000 | [diff] [blame] | 13 | sector_t array_sectors; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | dev_info_t disks[0]; |
NeilBrown | 495d357 | 2009-06-18 08:49:42 +1000 | [diff] [blame] | 15 | struct rcu_head rcu; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | |
| 19 | typedef struct linear_private_data linear_conf_t; |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif |