]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code: s/alignement/alignment/ typos in jerasure
authorLoic Dachary <loic-201408@dachary.org>
Sat, 13 Sep 2014 10:55:26 +0000 (12:55 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 25 Nov 2014 15:31:35 +0000 (16:31 +0100)
The jerasure-per-chunk-alignment prameter was mispelled and while
useable that would lead to confusion.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit 2c84d0b1db57d918840e669a17bbd8c5ddca9747)

src/erasure-code/jerasure/ErasureCodeJerasure.cc

index 4cac0a5f11ad562b10ed06abaef31b70058752dc..b495f171d352c60d20cab2804c6d1fe11ba5576c 100644 (file)
@@ -199,7 +199,7 @@ int ErasureCodeJerasureReedSolomonVandermonde::parse(const map<std::string,std::
     w = DEFAULT_W;
     err = -EINVAL;
   }
-  err |= to_bool("jerasure-per-chunk-alignement", parameters,
+  err |= to_bool("jerasure-per-chunk-alignment", parameters,
                 &per_chunk_alignment, false, ss);
   return err;
 }
@@ -306,7 +306,7 @@ int ErasureCodeJerasureCauchy::parse(const map<std::string,std::string> &paramet
     err = -EINVAL;
   }
   err |= to_int("packetsize", parameters, &packetsize, DEFAULT_PACKETSIZE, ss);
-  err |= to_bool("jerasure-per-chunk-alignement", parameters,
+  err |= to_bool("jerasure-per-chunk-alignment", parameters,
                 &per_chunk_alignment, false, ss);
   return err;
 }