License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / drivers / md / raid0.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _RAID0_H
3#define _RAID0_H
4
e373ab10 5struct strip_zone {
dc582663 6 sector_t zone_end; /* Start of the next zone (in sectors) */
019c4e2f 7 sector_t dev_start; /* Zone offset in real dev (in sectors) */
ba13da47 8 int nb_dev; /* # of devices attached to the zone */
1da177e4
LT
9};
10
e373ab10 11struct r0conf {
ba13da47
N
12 struct strip_zone *strip_zone;
13 struct md_rdev **devlist; /* lists of rdevs, pointed to
14 * by strip_zone->dev */
15 int nr_strip_zones;
1da177e4
LT
16};
17
1da177e4 18#endif