diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 20:58:05 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 20:58:05 +1100 |
commit | a655e5506478c540db06649fe7833c3c0982f80c (patch) | |
tree | d3d011a7a7dee3d9590630f101007c2541128d93 /Assemble.c | |
parent | fa56eddbd1ff1e007cfe588ddc97787d81a4fc3d (diff) |
Improve type names for mddev_dev
Remove the _t pointer typedef and remove the _s suffix for the
structure,
These things do not help readability.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r-- | Assemble.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -118,7 +118,7 @@ static int ident_matches(struct mddev_ident *ident, int Assemble(struct supertype *st, char *mddev, struct mddev_ident *ident, - mddev_dev_t devlist, char *backup_file, + struct mddev_dev *devlist, char *backup_file, int readonly, int runstop, char *update, char *homehost, int require_homehost, int verbose, int force) @@ -207,7 +207,7 @@ int Assemble(struct supertype *st, char *mddev, int start_partial_ok = (runstop >= 0) && (force || devlist==NULL || auto_assem); unsigned int num_devs; - mddev_dev_t tmpdev; + struct mddev_dev *tmpdev; struct mdinfo info; struct mdinfo *content = NULL; char *avail; @@ -492,7 +492,7 @@ int Assemble(struct supertype *st, char *mddev, devname); goto loop; } else { /* reject all those sofar */ - mddev_dev_t td; + struct mddev_dev *td; if (report_missmatch) fprintf(stderr, Name ": %s overrides previous devices due to good homehost\n", devname); |