Skip to contentSkip to conversation

mdadm/bitmap:fixed typos in comments of bitmap.h

PATCH Applied Zhilong Liu 2 participants 2 messages Mar 20, 2017 – Mar 28, 2017 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mdadm/bitmap:fixed typos in comments of bitmap.h

bitmap.h: fixed trivial typos in comments

---
 bitmap.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
bitmap.h +2 -2
index b8fb071..7b1f80f 100644
@@ -46,7 +46,7 @@
  *
  * The counter counts pending write requests, plus the on-disk bit.
  * When the counter is '1' and the resync bits are clear, the on-disk
- * bit can be cleared aswell, thus setting the counter to 0.
+ * bit can be cleared as well, thus setting the counter to 0.
  * When we set a bit, or in the counter (to start a write), if the fields is
  * 0, we first set the disk bit and set the counter to 1.
  *
@@ -185,7 +185,7 @@ struct bitmap_page {
 	 */
 	char *map;
 	/*
-	 * in emergencies (when map cannot be alloced), hijack the map
+	 * in emergencies (when map cannot be allocated), hijack the map
 	 * pointer and use it as two counters itself
 	 */
 	unsigned int hijacked;
Signature · 1 line
2.6.6