]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdadm:fixed some trivial typos in comments of mdadm.h
authorZhilong Liu <zlliu@suse.com>
Mon, 20 Mar 2017 05:20:06 +0000 (13:20 +0800)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Mon, 27 Mar 2017 22:00:25 +0000 (18:00 -0400)
mdadm.h: fixed some trivial typos in comments

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

diff --git a/mdadm.h b/mdadm.h
index 71b8afb9fee6e0e7925d3a4e1bb58232e97ef446..91fd9eb1252a7574506d3a4a23f82cf2406eb210 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -552,7 +552,7 @@ struct mdstat_ent {
        char            devnm[32];
        int             active;
        char            *level;
-       char            *pattern; /* U or up, _ for down */
+       char            *pattern; /* U for up, _ for down */
        int             percent; /* -1 if no resync */
        int             resync; /* 3 if check, 2 if reshape, 1 if resync, 0 if recovery */
        int             devcnt;
@@ -742,7 +742,7 @@ struct reshape {
        unsigned long long new_size; /* New size of array in sectors */
 };
 
-/* A superswitch provides entry point the a metadata handler.
+/* A superswitch provides entry point to a metadata handler.
  *
  * The superswitch primarily operates on some "metadata" that
  * is accessed via the 'supertype'.