md: free unused memory after bitmap resize
[muen/linux.git] / drivers / md / md-linear.h
1 #ifndef _LINEAR_H
2 #define _LINEAR_H
3
4 struct dev_info {
5         struct md_rdev  *rdev;
6         sector_t        end_sector;
7 };
8
9 struct linear_conf
10 {
11         struct rcu_head         rcu;
12         sector_t                array_sectors;
13         int                     raid_disks; /* a copy of mddev->raid_disks */
14         struct dev_info         disks[0];
15 };
16 #endif