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

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