dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/mdadm-bitmap-fixed-typos-in-comments1-of-bitmap.h.patch

2c1b57
From 4c829c2252d2a6fb4871ec0cdad58b6c3a0218fd Mon Sep 17 00:00:00 2001
2c1b57
From: Zhilong Liu <zlliu@suse.com>
2c1b57
Date: Mon, 20 Mar 2017 18:46:39 +0800
2c1b57
Subject: [RHEL7.5 PATCH 018/169] mdadm/bitmap:fixed typos in comments of
2c1b57
 bitmap.h
2c1b57
2c1b57
bitmap.h: fixed trivial typos in comments
2c1b57
2c1b57
Signed-off-by: Zhilong Liu <zlliu@suse.com>
2c1b57
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
2c1b57
---
2c1b57
 bitmap.h | 4 ++--
2c1b57
 1 file changed, 2 insertions(+), 2 deletions(-)
2c1b57
2c1b57
diff --git a/bitmap.h b/bitmap.h
2c1b57
index b8fb071..7b1f80f 100644
2c1b57
--- a/bitmap.h
2c1b57
+++ b/bitmap.h
2c1b57
@@ -46,7 +46,7 @@
2c1b57
  *
2c1b57
  * The counter counts pending write requests, plus the on-disk bit.
2c1b57
  * When the counter is '1' and the resync bits are clear, the on-disk
2c1b57
- * bit can be cleared aswell, thus setting the counter to 0.
2c1b57
+ * bit can be cleared as well, thus setting the counter to 0.
2c1b57
  * When we set a bit, or in the counter (to start a write), if the fields is
2c1b57
  * 0, we first set the disk bit and set the counter to 1.
2c1b57
  *
2c1b57
@@ -185,7 +185,7 @@ struct bitmap_page {
2c1b57
 	 */
2c1b57
 	char *map;
2c1b57
 	/*
2c1b57
-	 * in emergencies (when map cannot be alloced), hijack the map
2c1b57
+	 * in emergencies (when map cannot be allocated), hijack the map
2c1b57
 	 * pointer and use it as two counters itself
2c1b57
 	 */
2c1b57
 	unsigned int hijacked;
2c1b57
-- 
2c1b57
2.7.4
2c1b57