]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm/bitmap:fixed typos in comments of bitmap.h
authorZhilong Liu <zlliu@suse.com>
Mon, 20 Mar 2017 10:46:39 +0000 (18:46 +0800)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Tue, 28 Mar 2017 18:08:04 +0000 (14:08 -0400)
bitmap.h: fixed trivial typos in comments

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
bitmap.h

index b8fb07147221fec975367a93dd7c7b8b05964eef..7b1f80f2e8f64a80ddf298e936d579e813d6cf36 100644 (file)
--- a/bitmap.h
+++ b/bitmap.h
@@ -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;