summaryrefslogtreecommitdiffstats
path: root/mapfile.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
commitfa56eddbd1ff1e007cfe588ddc97787d81a4fc3d (patch)
treef8981eddf1be405d8577fa587d079015b99b219f /mapfile.c
parentAssemble: factor out ident_matches (diff)
downloadmdadm-fa56eddbd1ff1e007cfe588ddc97787d81a4fc3d.tar.xz
mdadm-fa56eddbd1ff1e007cfe588ddc97787d81a4fc3d.zip
Improve mddev_ident type definitions.
Remove the _t typedef and remove the _s suffix from the struct name. These things do not help readability. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mapfile.c')
-rw-r--r--mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapfile.c b/mapfile.c
index be58436c..1cc61d1b 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -419,7 +419,7 @@ void RebuildMap(void)
* find a unique name based on metadata name.
*
*/
- struct mddev_ident_s *match = conf_match(info, st);
+ struct mddev_ident *match = conf_match(info, st);
struct stat stb;
if (match && match->devname && match->devname[0] == '/') {
path = match->devname;