dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone
5d5466
From ebf3be9931f31df54df52b1821479e6a80a4d9c6 Mon Sep 17 00:00:00 2001
5d5466
From: Dimitri John Ledkov <xnox@ubuntu.com>
5d5466
Date: Tue, 15 Jan 2019 19:08:37 +0000
5d5466
Subject: [RHEL7.7 PATCH 14/24] Fix spelling typos.
5d5466
5d5466
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
5d5466
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
5d5466
---
5d5466
 Assemble.c    | 2 +-
5d5466
 Create.c      | 2 +-
5d5466
 Grow.c        | 6 +++---
5d5466
 super-ddf.c   | 2 +-
5d5466
 super-intel.c | 2 +-
5d5466
 5 files changed, 7 insertions(+), 7 deletions(-)
5d5466
5d5466
diff --git a/Assemble.c b/Assemble.c
5d5466
index 9f75c68..9f050c1 100644
5d5466
--- a/Assemble.c
5d5466
+++ b/Assemble.c
5d5466
@@ -879,7 +879,7 @@ static int force_array(struct mdinfo *content,
5d5466
 		current_events = devices[chosen_drive].i.events;
5d5466
 	add_another:
5d5466
 		if (c->verbose >= 0)
5d5466
-			pr_err("forcing event count in %s(%d) from %d upto %d\n",
5d5466
+			pr_err("forcing event count in %s(%d) from %d up to %d\n",
5d5466
 			       devices[chosen_drive].devname,
5d5466
 			       devices[chosen_drive].i.disk.raid_disk,
5d5466
 			       (int)(devices[chosen_drive].i.events),
5d5466
diff --git a/Create.c b/Create.c
5d5466
index 04b1dfc..6f1b228 100644
5d5466
--- a/Create.c
5d5466
+++ b/Create.c
5d5466
@@ -823,7 +823,7 @@ int Create(struct supertype *st, char *mddev,
5d5466
 		}
5d5466
 		bitmap_fd = open(s->bitmap_file, O_RDWR);
5d5466
 		if (bitmap_fd < 0) {
5d5466
-			pr_err("weird: %s cannot be openned\n",
5d5466
+			pr_err("weird: %s cannot be opened\n",
5d5466
 				s->bitmap_file);
5d5466
 			goto abort_locked;
5d5466
 		}
5d5466
diff --git a/Grow.c b/Grow.c
5d5466
index 363b209..6d32661 100644
5d5466
--- a/Grow.c
5d5466
+++ b/Grow.c
5d5466
@@ -446,7 +446,7 @@ int Grow_addbitmap(char *devname, int fd, struct context *c, struct shape *s)
5d5466
 		if (offset_setable) {
5d5466
 			st->ss->getinfo_super(st, mdi, NULL);
5d5466
 			if (sysfs_init(mdi, fd, NULL)) {
5d5466
-				pr_err("failed to intialize sysfs.\n");
5d5466
+				pr_err("failed to initialize sysfs.\n");
5d5466
 				free(mdi);
5d5466
 			}
5d5466
 			rv = sysfs_set_num_signed(mdi, NULL, "bitmap/location",
5d5466
@@ -2178,7 +2178,7 @@ size_change_error:
5d5466
 	memset(&info, 0, sizeof(info));
5d5466
 	info.array = array;
5d5466
 	if (sysfs_init(&info, fd, NULL)) {
5d5466
-		pr_err("failed to intialize sysfs.\n");
5d5466
+		pr_err("failed to initialize sysfs.\n");
5d5466
 		rv = 1;
5d5466
 		goto release;
5d5466
 	}
5d5466
@@ -2903,7 +2903,7 @@ static int impose_level(int fd, int level, char *devname, int verbose)
5d5466
 	struct mdinfo info;
5d5466
 
5d5466
 	if (sysfs_init(&info, fd, NULL)) {
5d5466
-		pr_err("failed to intialize sysfs.\n");
5d5466
+		pr_err("failed to initialize sysfs.\n");
5d5466
 		return  1;
5d5466
 	}
5d5466
 
5d5466
diff --git a/super-ddf.c b/super-ddf.c
5d5466
index 618542c..c095e8a 100644
5d5466
--- a/super-ddf.c
5d5466
+++ b/super-ddf.c
5d5466
@@ -1900,7 +1900,7 @@ static struct vd_config *find_vdcr(struct ddf_super *ddf, unsigned int inst,
5d5466
 		return conf;
5d5466
 	}
5d5466
 bad:
5d5466
-	pr_err("Could't find disk %d in array %u\n", n, inst);
5d5466
+	pr_err("Couldn't find disk %d in array %u\n", n, inst);
5d5466
 	return NULL;
5d5466
 }
5d5466
 
5d5466
diff --git a/super-intel.c b/super-intel.c
5d5466
index 1cc7d5f..c399433 100644
5d5466
--- a/super-intel.c
5d5466
+++ b/super-intel.c
5d5466
@@ -10034,7 +10034,7 @@ static void imsm_process_update(struct supertype *st,
5d5466
 		break;
5d5466
 	}
5d5466
 	default:
5d5466
-		pr_err("error: unsuported process update type:(type: %d)\n",	type);
5d5466
+		pr_err("error: unsupported process update type:(type: %d)\n",	type);
5d5466
 	}
5d5466
 }
5d5466
 
5d5466
-- 
5d5466
2.7.5
5d5466