1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINEAR_H
3#define _LINEAR_H
4
5struct dev_info {
6 struct md_rdev *rdev;
7 sector_t end_sector;
8};
9
10struct linear_conf
11{
12 struct rcu_head rcu;
13 sector_t array_sectors;
14 int raid_disks; /* a copy of mddev->raid_disks */
15 struct dev_info disks[0];
16};
17#endif
18