]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/md/linear.h
UBUNTU: Ubuntu-raspi2-4.10.0-1011.14
[mirror_ubuntu-zesty-kernel.git] / drivers / md / linear.h
CommitLineData
1da177e4
LT
1#ifndef _LINEAR_H
2#define _LINEAR_H
3
1da177e4 4struct dev_info {
3cb03002 5 struct md_rdev *rdev;
4db7cdc8 6 sector_t end_sector;
1da177e4
LT
7};
8
e849b938 9struct linear_conf
1da177e4 10{
1b6afa17 11 struct rcu_head rcu;
d6e22150 12 sector_t array_sectors;
7a86b793 13 int raid_disks; /* a copy of mddev->raid_disks */
a7120771 14 struct dev_info disks[0];
1da177e4 15};
1da177e4 16#endif