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 /Incremental.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 'Incremental.c')
-rw-r--r-- | Incremental.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Incremental.c b/Incremental.c index 0320ce78..0df69b7d 100644 --- a/Incremental.c +++ b/Incremental.c @@ -862,7 +862,7 @@ static int array_try_spare(char *devname, int *dfdp, struct dev_policy *pol, /* add current device to chosen array as a spare */ int mdfd = open_dev(devname2devnum(chosen->sys_name)); if (mdfd >= 0) { - struct mddev_dev_s devlist; + struct mddev_dev devlist; char devname[20]; devlist.next = NULL; devlist.used = 0; @@ -1363,7 +1363,7 @@ int IncrementalRemove(char *devname, int verbose) int mdfd; int rv; struct mdstat_ent *ent; - struct mddev_dev_s devlist; + struct mddev_dev devlist; if (strchr(devname, '/')) { fprintf(stderr, Name ": incremental removal requires a " |