Blame SOURCES/0014-Fix-spelling-typos.patch

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