]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: Fix typo in lustre/include
authorMasanari Iida <standby24x7@gmail.com>
Fri, 21 Mar 2014 14:42:52 +0000 (23:42 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 03:21:07 +0000 (20:21 -0700)
Fix spelling typo in comments within lustre/include.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h
drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h
drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
drivers/staging/lustre/include/linux/lnet/lib-lnet.h
drivers/staging/lustre/include/linux/lnet/lib-types.h
drivers/staging/lustre/include/linux/lnet/lnetst.h
drivers/staging/lustre/include/linux/lnet/types.h

index c87efb49ebc28f49c6d119a95a6d95f2fd91372f..d116fdfc5c417238d85abf0e9155399288998744 100644 (file)
@@ -128,7 +128,7 @@ struct cfs_cpt_table *cfs_cpt_table_alloc(unsigned int ncpt);
 int
 cfs_cpt_number(struct cfs_cpt_table *cptab);
 /**
- * return number of HW cores or hypter-threadings in a CPU partition \a cpt
+ * return number of HW cores or hyper-threadings in a CPU partition \a cpt
  */
 int cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt);
 /**
@@ -152,7 +152,7 @@ int cfs_cpt_of_cpu(struct cfs_cpt_table *cptab, int cpu);
  */
 int cfs_cpt_bind(struct cfs_cpt_table *cptab, int cpt);
 /**
- * add \a cpu to CPU partion @cpt of \a cptab, return 1 for success,
+ * add \a cpu to CPU partition @cpt of \a cptab, return 1 for success,
  * otherwise 0 is returned
  */
 int cfs_cpt_set_cpu(struct cfs_cpt_table *cptab, int cpt, int cpu);
index 776e9c0e48c13742170523c4934d5056d6886080..9e610a9ce51f97bfa7ee6a4c2a2ea750f734be48 100644 (file)
@@ -31,7 +31,7 @@
 struct cfs_crypto_hash_type {
        char            *cht_name;      /**< hash algorithm name, equal to
                                         * format name for crypto api */
-       unsigned int    cht_key;        /**< init key by default (vaild for
+       unsigned int    cht_key;        /**< init key by default (valid for
                                         * 4 bytes context like crc32, adler */
        unsigned int    cht_size;       /**< hash digest size */
 };
index e5d5db2556225a7e8f612decadc2736da3e00040..954164361ca405231d42a85366d4086e9c158d48 100644 (file)
@@ -59,8 +59,8 @@
 /*
  * Ideally we would use HAVE_HASH_LONG for this, but on linux we configure
  * the linux kernel and user space at the same time, so we need to differentiate
- * between them explicitely. If this is not needed on other architectures, then
- * we'll need to move the functions to archi specific headers.
+ * between them explicitly. If this is not needed on other architectures, then
+ * we'll need to move the functions to architecture specific headers.
  */
 
 #include <linux/hash.h>
@@ -86,7 +86,7 @@ union cfs_hash_lock {
 
 /**
  * cfs_hash_bucket is a container of:
- * - lock, couter ...
+ * - lock, counter ...
  * - array of hash-head starting from hsb_head[0], hash-head can be one of
  *   . cfs_hash_head_t
  *   . cfs_hash_head_dep_t
@@ -136,7 +136,7 @@ enum cfs_hash_tag {
        CFS_HASH_NO_BKTLOCK     = 1 << 1,
        /** rwlock to protect bucket */
        CFS_HASH_RW_BKTLOCK     = 1 << 2,
-       /** spinlcok to protect bucket */
+       /** spinlock to protect bucket */
        CFS_HASH_SPIN_BKTLOCK   = 1 << 3,
        /** always add new item to tail */
        CFS_HASH_ADD_TAIL       = 1 << 4,
index 856fcfaafafa702f7140c435e86967230ffc8f95..06ff463e4af635e4a9afacb3fe7956cf5eb127b9 100644 (file)
@@ -181,7 +181,7 @@ lnet_net_lock_current(void)
 #define MAX_PORTALS     64
 
 /* these are only used by code with LNET_USE_LIB_FREELIST, but we still
- * exported them to !LNET_USE_LIB_FREELIST for easy implemetation */
+ * exported them to !LNET_USE_LIB_FREELIST for easy implementation */
 #define LNET_FL_MAX_MES                2048
 #define LNET_FL_MAX_MDS                2048
 #define LNET_FL_MAX_EQS                512
index 1c13ef7df80e0e0b26a2cb0e4c396c10177cb001..a63654b660de4523636085c0240a8172d85ef52e 100644 (file)
@@ -204,7 +204,7 @@ typedef struct lnet_msg {
        unsigned int      msg_receiving:1;    /* being received */
        unsigned int      msg_txcredit:1;     /* taken an NI send credit */
        unsigned int      msg_peertxcredit:1; /* taken a peer send credit */
-       unsigned int      msg_rtrcredit:1;    /* taken a globel router credit */
+       unsigned int      msg_rtrcredit:1;    /* taken a global router credit */
        unsigned int      msg_peerrtrcredit:1; /* taken a peer router credit */
        unsigned int      msg_onactivelist:1; /* on the activelist */
 
@@ -342,7 +342,7 @@ typedef struct lnet_lnd {
 
        /* Start receiving 'mlen' bytes of payload data, skipping the following
         * 'rlen' - 'mlen' bytes. 'private' is the 'private' passed to
-        * lnet_parse().  Return non-zero for immedaite failure, otherwise
+        * lnet_parse().  Return non-zero for immediate failure, otherwise
         * complete later with lnet_finalize().  This also gives back a receive
         * credit if the LND does flow control. */
        int (*lnd_recv)(struct lnet_ni *ni, void *private, lnet_msg_t *msg,
@@ -594,7 +594,7 @@ struct lnet_match_table {
        unsigned int            mt_cpt;
        unsigned int            mt_portal;      /* portal index */
        /* match table is set as "enabled" if there's non-exhausted MD
-        * attached on mt_mhash, it's only valide for wildcard portal */
+        * attached on mt_mhash, it's only valid for wildcard portal */
        unsigned int            mt_enabled;
        /* bitmap to flag whether MEs on mt_hash are exhausted or not */
        __u64                   mt_exhausted[LNET_MT_EXHAUSTED_BMAP];
index e060599314d587c09ef6cae2708bf43e31ea2d32..87fe9ac76a6ca8e7b75c0084dd2df17ae509d608 100644 (file)
@@ -402,7 +402,7 @@ typedef struct {
 /* add stat in session */
 typedef struct {
        int                  lstio_sta_key;       /* IN: session key */
-       int                  lstio_sta_timeout;      /* IN: timeout for stat requst */
+       int                  lstio_sta_timeout;      /* IN: timeout for stat request */
        int                  lstio_sta_nmlen;   /* IN: group name length */
        char               *lstio_sta_namep;    /* IN: group name */
        int                  lstio_sta_count;   /* IN: # of pid */
index c833ce8544d3cb3a92df25e3040954c1cce07ce1..b19d98809b5703d4690fd61aa33075beee844dd0 100644 (file)
@@ -181,7 +181,7 @@ typedef struct {
         * address of an array of lnet_kiov_t and the length field specifies
         * the number of entries in the array. The length can't be bigger
         * than LNET_MAX_IOV. The lnet_kiov_t is used to describe page-based
-        * fragments that are not necessarily mapped in virtal memory.
+        * fragments that are not necessarily mapped in virtual memory.
         * - LNET_MD_IOVEC bit set: The start field points to the starting
         * address of an array of struct iovec and the length field specifies
         * the number of entries in the array. The length can't be bigger