diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
commit | a655e5506478c540db06649fe7833c3c0982f80c (patch) | |
tree | d3d011a7a7dee3d9590630f101007c2541128d93 /Build.c | |
parent | Improve mddev_ident type definitions. (diff) | |
download | mdadm-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 'Build.c')
-rw-r--r-- | Build.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ #define STOP_MD _IO (MD_MAJOR, 3) int Build(char *mddev, int chunk, int level, int layout, - int raiddisks, mddev_dev_t devlist, int assume_clean, + int raiddisks, struct mddev_dev *devlist, int assume_clean, char *bitmap_file, int bitmap_chunk, int write_behind, int delay, int verbose, int autof, unsigned long long size) { @@ -50,7 +50,7 @@ int Build(char *mddev, int chunk, int level, int layout, int vers; struct stat stb; int subdevs = 0, missing_disks = 0; - mddev_dev_t dv; + struct mddev_dev *dv; int bitmap_fd; unsigned long long bitmapsize; int mdfd; |