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 { |
NeilBrown | 3cb0300 | 2011-10-11 16:45:26 +1100 | [diff] [blame] | 5 | struct md_rdev *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 | |
NeilBrown | e849b93 | 2011-10-11 16:48:54 +1100 | [diff] [blame] | 9 | struct linear_conf |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | { |
NeilBrown | 1b6afa1 | 2011-08-25 14:43:53 +1000 | [diff] [blame] | 11 | struct rcu_head rcu; |
Andre Noll | d6e2215 | 2008-07-21 17:05:25 +1000 | [diff] [blame] | 12 | sector_t array_sectors; |
NeilBrown | a712077 | 2011-10-11 16:48:49 +1100 | [diff] [blame] | 13 | struct dev_info disks[0]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | }; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #endif |