Fix spelling typo in comments within lustre/include/linux.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 /* cfs crypto hash descriptor */
 struct cfs_crypto_hash_desc;
 
-/**     Allocate and initialize desriptor for hash algorithm.
+/**     Allocate and initialize descriptor for hash algorithm.
  *      @param alg         algorithm id
  *      @param key         initial value for algorithm, if it is NULL,
  *                         default initial value should be used.
  *      @param key_len len of initial value
  *      @returns             pointer to descriptor of hash instance
- *      @retval ERR_PTR(error) when errors occured.
+ *      @retval ERR_PTR(error) when errors occurred.
  */
 struct cfs_crypto_hash_desc*
        cfs_crypto_hash_init(unsigned char alg,
  *     @param desc           hash descriptor
  *     @param hash           buffer pointer to store hash digest
  *     @param hash_len   pointer to hash buffer size, if NULL
- *                           destory hash descriptor
+ *                           destroy hash descriptor
  *     @returns                 status of operation
  *     @retval -ENOSPC   if hash is NULL, or *hash_len less than
  *                           digest size
 void cfs_crypto_unregister(void);
 
 /**     Return hash speed in Mbytes per second for valid hash algorithm
- *      identifier. If test was unsuccessfull -1 would be return.
+ *      identifier. If test was unsuccessful -1 would be returned.
  */
 int cfs_crypto_hash_speed(unsigned char hash_alg);
 #endif
 
 
 /*
  * Rehash - Theta is calculated to be the average chained
- * hash depth assuming a perfectly uniform hash funcion.
+ * hash depth assuming a perfectly uniform hash function.
  */
 void cfs_hash_rehash_cancel_locked(cfs_hash_t *hs);
 void cfs_hash_rehash_cancel(cfs_hash_t *hs);
 
  */
 void *cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size);
 /*
- * destory per-cpu-partition variable
+ * destroy per-cpu-partition variable
  */
 void  cfs_percpt_free(void *vars);
 int   cfs_percpt_number(void *vars);
 
  * IMPORTANT !!!!!!!!
  *
  * All locks' declaration are not guaranteed to be initialized,
- * Althought some of they are initialized in Linux. All locks
+ * although some of them are initialized in Linux. All locks
  * declared by CFS_DECL_* should be initialized explicitly.
  */
 
 
        lnet_nid_t              msg_from;
        __u32                   msg_type;
 
-       /* commited for sending */
+       /* committed for sending */
        unsigned int            msg_tx_committed:1;
        /* CPT # this message committed for sending */
        unsigned int            msg_tx_cpt:15;
-       /* commited for receiving */
+       /* committed for receiving */
        unsigned int            msg_rx_committed:1;
        /* CPT # this message committed for receiving */
        unsigned int            msg_rx_cpt:15;
 
 #define LSTIO_SESSION_INFO      0xC03     /* query session */
 #define LSTIO_GROUP_ADD         0xC10     /* add group */
 #define LSTIO_GROUP_LIST       0xC11      /* list all groups in session */
-#define LSTIO_GROUP_INFO       0xC12      /* query defailt infomation of specified group */
+#define LSTIO_GROUP_INFO       0xC12      /* query default information of specified group */
 #define LSTIO_GROUP_DEL         0xC13     /* delete group */
 #define LSTIO_NODES_ADD         0xC14     /* add nodes to specified group */
 #define LSTIO_GROUP_UPDATE      0xC15     /* update group */
 
 /* Can compare handles directly on Cray Portals */
 #define PtlHandleIsEqual(a,b) ((a) == (b))
 
-/* Diffrent error types on Cray Portals*/
+/* Different error types on Cray Portals*/
 #define ptl_err_t ptl_ni_fail_t
 
 /*
  * maximum is limited only by memory and size of the
  * int parameters (2^31-1).
  * Lustre only really require that the underyling
- * implemenation to support at least LNET_MAX_IOV,
+ * implementation to support at least LNET_MAX_IOV,
  * so for Cray portals we can safely just use that
  * value here.
  *