treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / md / md-linear.h
blob8381d651d4ed0a4453cbeb3bb250003c2f763fb6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINEAR_H
3 #define _LINEAR_H
5 struct dev_info {
6 struct md_rdev *rdev;
7 sector_t end_sector;
8 };
10 struct linear_conf
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];
17 #endif