-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md/raid0: typedef removal: raid0_conf_t -> struct r0conf
Signed-off-by: NeilBrown <neilb@suse.de>
- Loading branch information
NeilBrown
committed
Oct 11, 2011
1 parent
69724e2
commit e373ab1
Showing
4 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
#ifndef _RAID0_H | ||
#define _RAID0_H | ||
|
||
struct strip_zone | ||
{ | ||
struct strip_zone { | ||
sector_t zone_end; /* Start of the next zone (in sectors) */ | ||
sector_t dev_start; /* Zone offset in real dev (in sectors) */ | ||
int nb_dev; /* # of devices attached to the zone */ | ||
}; | ||
|
||
struct raid0_private_data | ||
{ | ||
struct r0conf { | ||
struct strip_zone *strip_zone; | ||
struct md_rdev **devlist; /* lists of rdevs, pointed to by strip_zone->dev */ | ||
int nr_strip_zones; | ||
}; | ||
|
||
typedef struct raid0_private_data raid0_conf_t; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters