<div dir="ltr">Applied, thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 26, 2016 at 2:33 AM, Xose Vazquez Perez <span dir="ltr"><<a href="mailto:xose.vazquez@gmail.com" target="_blank">xose.vazquez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Done with <a href="https://github.com/lucasdemarchi/codespell" rel="noreferrer" target="_blank">https://github.com/<wbr>lucasdemarchi/codespell</a><br>
<br>
<br>
multipath-tools/kpartx/dasd.c:<wbr>263: formated ==> formatted<br>
multipath-tools/libmultipath/<wbr>discovery.c:1808: unuseable ==> unusable<br>
multipath-tools/libmultipath/<wbr>discovery.h:20: exerpt ==> excerpt<br>
multipath-tools/libmultipath/<wbr>memory.c:150: formated ==> formatted<br>
multipath-tools/libmultipath/<wbr>checkers/directio.c:84: Sucessfully ==> Successfully<br>
multipath-tools/libmultipath/<wbr>prioritizers/hds.c:9: pathes ==> paths<br>
multipath-tools/libmultipath/<wbr>prioritizers/hds.c:14: pathes ==> paths<br>
multipath-tools/libmultipath/<wbr>prioritizers/ontap.c:119: Retuns ==> Returns<br>
multipath-tools/third-party/<wbr>valgrind/valgrind.h:6828: arbitary ==> arbitrary<br>
multipath-tools/multipath/02_<wbr>multipath:11: dynamicaly ==> dynamically<br>
multipath-tools/multipath/<wbr>multipath.conf.5:793: remeber ==> remember<br>
multipath-tools/<wbr>libmpathpersist/mpath_persist.<wbr>h:15: lenght ==> length<br>
<br>
-------8<-------<br>
SUMMARY:<br>
arbitary 1<br>
dynamicaly 1<br>
exerpt 1<br>
formated 2<br>
lenght 1<br>
pathes 2<br>
remeber 1<br>
retuns 1<br>
sucessfully 1<br>
unuseable 1<br>
<br>
Cc: Christophe Varoqui <<a href="mailto:christophe.varoqui@opensvc.com">christophe.varoqui@opensvc.<wbr>com</a>><br>
Cc: device-mapper development <<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a>><br>
Signed-off-by: Xose Vazquez Perez <<a href="mailto:xose.vazquez@gmail.com">xose.vazquez@gmail.com</a>><br>
---<br>
kpartx/dasd.c | 2 +-<br>
libmpathpersist/mpath_persist.<wbr>h | 2 +-<br>
libmultipath/checkers/<wbr>directio.c | 2 +-<br>
libmultipath/discovery.c | 2 +-<br>
libmultipath/discovery.h | 2 +-<br>
libmultipath/memory.c | 2 +-<br>
libmultipath/prioritizers/hds.<wbr>c | 4 ++--<br>
libmultipath/prioritizers/<wbr>ontap.c | 2 +-<br>
multipath/02_multipath | 2 +-<br>
multipath/multipath.conf.5 | 2 +-<br>
10 files changed, 11 insertions(+), 11 deletions(-)<br>
<br>
diff --git a/kpartx/dasd.c b/kpartx/dasd.c<br>
index faf5e2e..1206e45 100644<br>
--- a/kpartx/dasd.c<br>
+++ b/kpartx/dasd.c<br>
@@ -261,7 +261,7 @@ read_dasd_pt(int fd, struct slice all, struct slice *sp, int ns)<br>
fmt_size = sectors512(vlabel.formatted_<wbr>blocks,<br>
blocksize);<br>
} else if (!strcmp(info.type, "ECKD")) {<br>
- /* formated w/o large volume support */<br>
+ /* formatted w/o large volume support */<br>
fmt_size = geo.cylinders * geo.heads<br>
* geo.sectors * (blocksize >> 9);<br>
} else {<br>
diff --git a/libmpathpersist/mpath_<wbr>persist.h b/libmpathpersist/mpath_<wbr>persist.h<br>
index fde0416..79de5b5 100644<br>
--- a/libmpathpersist/mpath_<wbr>persist.h<br>
+++ b/libmpathpersist/mpath_<wbr>persist.h<br>
@@ -13,7 +13,7 @@ extern "C" {<br>
#define MPATH_MAX_PARAM_LEN 8192<br>
<br>
#define MPATH_MX_TIDS 32 /* Max number of transport ids"*/<br>
-#define MPATH_MX_TID_LEN 256 /* Max lenght of transport id */<br>
+#define MPATH_MX_TID_LEN 256 /* Max length of transport id */<br>
<br>
/* PRIN Service Actions */<br>
#define MPATH_PRIN_RKEY_SA 0x00 /* READ KEYS SA*/<br>
diff --git a/libmultipath/checkers/<wbr>directio.c b/libmultipath/checkers/<wbr>directio.c<br>
index eec12d5..ce60e4c 100644<br>
--- a/libmultipath/checkers/<wbr>directio.c<br>
+++ b/libmultipath/checkers/<wbr>directio.c<br>
@@ -82,7 +82,7 @@ int libcheck_init (struct checker * c)<br>
ct->ptr = (unsigned char *) (((unsigned long)ct->buf + pgsize - 1) &<br>
(~(pgsize - 1)));<br>
<br>
- /* Sucessfully initialized, return the context. */<br>
+ /* Successfully initialized, return the context. */<br>
c->context = (void *) ct;<br>
return 0;<br>
<br>
diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c<br>
index aaa915c..0f912ba 100644<br>
--- a/libmultipath/discovery.c<br>
+++ b/libmultipath/discovery.c<br>
@@ -1806,7 +1806,7 @@ int pathinfo(struct path *pp, struct config *conf, int mask)<br>
pp->state = PATH_DOWN;<br>
if (pp->state == PATH_UP && !pp->size) {<br>
condlog(3, "%s: device size is 0, "<br>
- "path unuseable", pp->dev);<br>
+ "path unusable", pp->dev);<br>
pp->state = PATH_GHOST;<br>
}<br>
} else {<br>
diff --git a/libmultipath/discovery.h b/libmultipath/discovery.h<br>
index 97e5a32..3039268 100644<br>
--- a/libmultipath/discovery.h<br>
+++ b/libmultipath/discovery.h<br>
@@ -18,7 +18,7 @@<br>
#endif<br>
<br>
/*<br>
- * exerpt from sg_err.h<br>
+ * excerpt from sg_err.h<br>
*/<br>
#define SCSI_CHECK_CONDITION 0x2<br>
#define SCSI_COMMAND_TERMINATED 0x22<br>
diff --git a/libmultipath/memory.c b/libmultipath/memory.c<br>
index 293a688..ff5a030 100644<br>
--- a/libmultipath/memory.c<br>
+++ b/libmultipath/memory.c<br>
@@ -148,7 +148,7 @@ dbg_strdup(char *str, char *file, char *function, int line)<br>
<br>
<br>
<br>
-/* Display a buffer into a HEXA formated output */<br>
+/* Display a buffer into a HEXA formatted output */<br>
static void<br>
dump_buffer(char *buff, int count)<br>
{<br>
diff --git a/libmultipath/prioritizers/<wbr>hds.c b/libmultipath/prioritizers/<wbr>hds.c<br>
index d161e68..70fb5d1 100644<br>
--- a/libmultipath/prioritizers/<wbr>hds.c<br>
+++ b/libmultipath/prioritizers/<wbr>hds.c<br>
@@ -7,12 +7,12 @@<br>
* Prioritizer for Device Mapper Multipath and HDS Storage<br>
*<br>
* Hitachis Modular Storage contains two controllers for redundancy. The<br>
- * Storage internal LUN (LDEV) will normally allocated via two pathes to the<br>
+ * Storage internal LUN (LDEV) will normally allocated via two paths to the<br>
* server (one path per controller). For performance reasons should the server<br>
* access to a LDEV only via one controller. The other path to the other<br>
* controller is stand-by. It is also possible to allocate more as one path<br>
* for a LDEV per controller. Here is active/active access allowed. The other<br>
- * pathes via the other controller are stand-by.<br>
+ * paths via the other controller are stand-by.<br>
*<br>
* This prioritizer checks with inquiry command the represented LDEV and<br>
* Controller number and gives back a priority followed by this scheme:<br>
diff --git a/libmultipath/prioritizers/<wbr>ontap.c b/libmultipath/prioritizers/<wbr>ontap.c<br>
index 38495cd..ca06d6c 100644<br>
--- a/libmultipath/prioritizers/<wbr>ontap.c<br>
+++ b/libmultipath/prioritizers/<wbr>ontap.c<br>
@@ -117,7 +117,7 @@ out:<br>
}<br>
<br>
/*<br>
- * Retuns:<br>
+ * Returns:<br>
* -1: Unable to obtain proxy info<br>
* 0: Device _not_ proxy path<br>
* 1: Device _is_ proxy path<br>
diff --git a/multipath/02_multipath b/multipath/02_multipath<br>
index 523f0ef..de6e247 100755<br>
--- a/multipath/02_multipath<br>
+++ b/multipath/02_multipath<br>
@@ -9,7 +9,7 @@ cp /sbin/kpartx $INITRDDIR/sbin<br>
<br>
#<br>
# feed the dependencies too<br>
-# scsi_id is dynamicaly linked, so store the libs too<br>
+# scsi_id is dynamically linked, so store the libs too<br>
#<br>
cp /lib/udev/scsi_id $INITRDDIR/lib/udev/<br>
cp /bin/mountpoint $INITRDDIR/bin<br>
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5<br>
index 8f5447d..c272dd6 100644<br>
--- a/multipath/multipath.conf.5<br>
+++ b/multipath/multipath.conf.5<br>
@@ -791,7 +791,7 @@ a path has the same WWID as a multipath device that was previously created<br>
while find_multipaths was set (even if that multipath device doesn't currently<br>
exist).<br>
Whenever a multipath device is created with find_multipaths set, multipath will<br>
-remeber the WWID of the device, so that it will automatically create the<br>
+remember the WWID of the device, so that it will automatically create the<br>
device again, as soon as it sees a path with that WWID. This should allow most<br>
users to have multipath automatically choose the correct paths to make into<br>
multipath devices, without having to edit the blacklist.<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.10.2<br>
<br>
</font></span></blockquote></div><br></div>