summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 10:58:05 +0100
committerNeilBrown <neilb@suse.de>2010-11-22 10:58:05 +0100
commita655e5506478c540db06649fe7833c3c0982f80c (patch)
treed3d011a7a7dee3d9590630f101007c2541128d93 /mdadm.c
parentImprove mddev_ident type definitions. (diff)
downloadmdadm-a655e5506478c540db06649fe7833c3c0982f80c.tar.xz
mdadm-a655e5506478c540db06649fe7833c3c0982f80c.zip
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 'mdadm.c')
-rw-r--r--mdadm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mdadm.c b/mdadm.c
index a1b5aaea..efb2e67b 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -62,9 +62,9 @@ int main(int argc, char *argv[])
char *backup_file = NULL;
int bitmap_chunk = UnSet;
int SparcAdjust = 0;
- mddev_dev_t devlist = NULL;
- mddev_dev_t *devlistend = & devlist;
- mddev_dev_t dv;
+ struct mddev_dev *devlist = NULL;
+ struct mddev_dev **devlistend = & devlist;
+ struct mddev_dev *dv;
int devs_found = 0;
int verbose = 0;
int quiet = 0;
@@ -1159,7 +1159,7 @@ int main(int argc, char *argv[])
}
} else {
struct mddev_ident *a, *array_list = conf_get_ident(NULL);
- mddev_dev_t devlist = conf_get_devs();
+ struct mddev_dev *devlist = conf_get_devs();
int cnt = 0;
int failures, successes;
if (devlist == NULL) {
@@ -1215,7 +1215,7 @@ int main(int argc, char *argv[])
int acnt;
ident.autof = autof;
do {
- mddev_dev_t devlist = conf_get_devs();
+ struct mddev_dev *devlist = conf_get_devs();
acnt = 0;
do {
rv2 = Assemble(ss, NULL,