]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
super0: Fix spelling of 'version' in comment and fix formatting
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 15 Aug 2016 19:49:59 +0000 (15:49 -0400)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 15 Aug 2016 19:49:59 +0000 (15:49 -0400)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super0.c

index 333860c452964846cea6b7782a16eb39a05110d3..65fbe64dd218c9305345647d2da30a69684db2f3 100644 (file)
--- a/super0.c
+++ b/super0.c
@@ -693,16 +693,14 @@ static int update_super0(struct supertype *st, struct mdinfo *info,
 }
 
 /*
- * For verion-0 superblock, the homehost is 'stored' in the
- * uuid.  8 bytes for a hash of the host leaving 8 bytes
- * of random material.
- * We use the first 8 bytes (64bits) of the sha1 of the
- * host name
+ * For version-0 superblock, the homehost is 'stored' in the uuid.
+ * 8 bytes for a hash of the host leaving 8 bytes of random material.
+ * We use the first 8 bytes (64bits) of the sha1 of the host name
  */
-
 static int init_super0(struct supertype *st, mdu_array_info_t *info,
-                      unsigned long long size, char *ignored_name, char *homehost,
-                      int *uuid, unsigned long long data_offset)
+                      unsigned long long size, char *ignored_name,
+                      char *homehost, int *uuid,
+                      unsigned long long data_offset)
 {
        mdp_super_t *sb;
        int spares;