repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
drivers
/
md
/
md-linear.h
blob
8381d651d4ed0a4453cbeb3bb250003c2f763fb6
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef _LINEAR_H
3
#define _LINEAR_H
4
5
struct
dev_info
{
6
struct
md_rdev
*
rdev
;
7
sector_t end_sector
;
8
};
9
10
struct
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