git: https://android.googlesource.com/kernel/common branch: android-4.9 commit: 03fcc2fe71308c2d164b4e6cbfc738c63e670444
17 lines
265 B
C
17 lines
265 B
C
#ifndef _LINEAR_H
|
|
#define _LINEAR_H
|
|
|
|
struct dev_info {
|
|
struct md_rdev *rdev;
|
|
sector_t end_sector;
|
|
};
|
|
|
|
struct linear_conf
|
|
{
|
|
struct rcu_head rcu;
|
|
sector_t array_sectors;
|
|
int raid_disks; /* a copy of mddev->raid_disks */
|
|
struct dev_info disks[0];
|
|
};
|
|
#endif
|