staging: lustre: corrected some typos and grammar errors
authorFrank Zago <fzago@cray.com>
Wed, 2 Mar 2016 22:02:02 +0000 (17:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 23:23:49 +0000 (15:23 -0800)
Cleanup various typos and grammar errors.

Signed-off-by: Frank Zago <fzago@cray.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5710
Reviewed-on: http://review.whamcloud.com/12201
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c
drivers/staging/lustre/lustre/llite/dir.c
drivers/staging/lustre/lustre/obdclass/lu_object.c
drivers/staging/lustre/lustre/ptlrpc/import.c

index bd3552e45701e24199ecd62c5d58fdf9764bbc66..c1ca8dc5faf4db4d1fb90059bd455ccf9152704f 100644 (file)
@@ -758,7 +758,7 @@ kib_conn_t *kiblnd_create_conn(kib_peer_t *peer, struct rdma_cm_id *cmid,
 
        rc = ib_req_notify_cq(cq, IB_CQ_NEXT_COMP);
        if (rc) {
-               CERROR("Can't request completion notificiation: %d\n", rc);
+               CERROR("Can't request completion notification: %d\n", rc);
                goto failed_2;
        }
 
index 394ec334fdedbe36b2bd4b6684a464fc2ac97e98..4e0a3e5833308215cc1c862ed540eda59519d75b 100644 (file)
@@ -878,7 +878,7 @@ int ll_get_mdt_idx(struct inode *inode)
 /**
  * Generic handler to do any pre-copy work.
  *
- * It send a first hsm_progress (with extent length == 0) to coordinator as a
+ * It sends a first hsm_progress (with extent length == 0) to coordinator as a
  * first information for it that real work has started.
  *
  * Moreover, for a ARCHIVE request, it will sample the file data version and
@@ -930,7 +930,7 @@ static int ll_ioc_copy_start(struct super_block *sb, struct hsm_copy *copy)
                        goto progress;
                }
 
-               /* Store it the hsm_copy for later copytool use.
+               /* Store in the hsm_copy for later copytool use.
                 * Always modified even if no lsm.
                 */
                copy->hc_data_version = data_version;
@@ -1008,7 +1008,7 @@ static int ll_ioc_copy_end(struct super_block *sb, struct hsm_copy *copy)
                        goto progress;
                }
 
-               /* Store it the hsm_copy for later copytool use.
+               /* Store in the hsm_copy for later copytool use.
                 * Always modified even if no lsm.
                 */
                hpk.hpk_data_version = data_version;
index 09832ffc19db3dd1d646fd417a8d93c8cb9708b3..cefd39ea3df3a3d68b5c3abff302a65332357ca3 100644 (file)
@@ -134,7 +134,7 @@ void lu_object_put(const struct lu_env *env, struct lu_object *o)
        }
 
        /*
-        * If object is dying (will not be cached), removed it
+        * If object is dying (will not be cached), then removed it
         * from hash table and LRU.
         *
         * This is done with hash table and LRU lists locked. As the only
index 041e7ce6923cd485caab973726fc2281735e6ad4..b4eddf29126986cfbb9114bc63e5b06871a9784e 100644 (file)
@@ -1331,7 +1331,7 @@ int ptlrpc_import_recovery_state_machine(struct obd_import *imp)
                {
                struct task_struct *task;
                /* bug 17802:  XXX client_disconnect_export vs connect request
-                * race. if client will evicted at this time, we start
+                * race. if client is evicted at this time, we start
                 * invalidate thread without reference to import and import can
                 * be freed at same time.
                 */