aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/linear.h')
-rw-r--r--drivers/md/linear.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/md/linear.h b/drivers/md/linear.h
index 2f2da05b2ce9..b685ddd7d7f7 100644
--- a/drivers/md/linear.h
+++ b/drivers/md/linear.h
@@ -2,20 +2,14 @@
2#define _LINEAR_H 2#define _LINEAR_H
3 3
4struct dev_info { 4struct dev_info {
5 mdk_rdev_t *rdev; 5 struct md_rdev *rdev;
6 sector_t end_sector; 6 sector_t end_sector;
7}; 7};
8 8
9typedef struct dev_info dev_info_t; 9struct linear_conf
10
11struct linear_private_data
12{ 10{
13 struct rcu_head rcu; 11 struct rcu_head rcu;
14 sector_t array_sectors; 12 sector_t array_sectors;
15 dev_info_t disks[0]; 13 struct dev_info disks[0];
16}; 14};
17
18
19typedef struct linear_private_data linear_conf_t;
20
21#endif 15#endif