Whamcloud - gitweb
A couple of trivial spelling fixes.
authornikita <nikita>
Sat, 18 Oct 2008 15:15:47 +0000 (15:15 +0000)
committernikita <nikita>
Sat, 18 Oct 2008 15:15:47 +0000 (15:15 +0000)
b=16450

lustre/ChangeLog
lustre/cmm/cmm_object.c
lustre/fld/fld_request.c
lustre/ldlm/ldlm_extent.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/obdclass/class_obd.c
lustre/obdfilter/filter.c
lustre/quota/quota_context.c

index 5e1bc84..02b268d 100644 (file)
@@ -1447,7 +1447,12 @@ Severity   : normal
 Bugzilla   : 16450
 Description: Convert some comments to new format.
 Details    : Update documenting comments to match doxygen conventions.
 Bugzilla   : 16450
 Description: Convert some comments to new format.
 Details    : Update documenting comments to match doxygen conventions.
-       
+
+Severity   : normal
+Bugzilla   : 16450
+Description: Grammar fixes.
+Details    : A couple of trivial spelling fixes.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index 13176b3..0d9ac93 100644 (file)
@@ -436,7 +436,7 @@ static int cml_create(const struct lu_env *env, struct md_object *mo_p,
                  * Try to split @mo_p. If split is ok, -ERESTART is returned and
                  * current thread will not peoceed with create. Instead it sends
                  * -ERESTART to client to let it know that correct MDT should be
                  * Try to split @mo_p. If split is ok, -ERESTART is returned and
                  * current thread will not peoceed with create. Instead it sends
                  * -ERESTART to client to let it know that correct MDT should be
-                 * choosen.
+                 * chosen.
                  */
                 rc = cmm_split_dir(env, mo_p);
                 if (rc)
                  */
                 rc = cmm_split_dir(env, mo_p);
                 if (rc)
index 29a2813..cdb5110 100644 (file)
@@ -524,7 +524,7 @@ int fld_client_create(struct lu_client_fld *fld,
         if (rc == 0) {
                 /*
                  * Do not return result of calling fld_cache_insert()
         if (rc == 0) {
                 /*
                  * Do not return result of calling fld_cache_insert()
-                 * here. First of all because it may return -EEXISTS. Another
+                 * here. First of all because it may return -EEXIST. Another
                  * reason is that, we do not want to stop proceeding because of
                  * cache errors.
                  */
                  * reason is that, we do not want to stop proceeding because of
                  * cache errors.
                  */
index 5825ca0..689f0a2 100644 (file)
@@ -216,7 +216,7 @@ ldlm_extent_internal_policy_waiting(struct ldlm_lock *req,
                         continue;
 
                 /* We grow extents downwards only as far as they don't overlap
                         continue;
 
                 /* We grow extents downwards only as far as they don't overlap
-                 * with already-granted locks, on the assumtion that clients
+                 * with already-granted locks, on the assumption that clients
                  * will be writing beyond the initial requested end and would
                  * then need to enqueue a new lock beyond previous request.
                  * l_req_extent->end strictly < req_start, checked above. */
                  * will be writing beyond the initial requested end and would
                  * then need to enqueue a new lock beyond previous request.
                  * l_req_extent->end strictly < req_start, checked above. */
index b108250..d34b459 100644 (file)
@@ -1838,7 +1838,7 @@ int mdt_object_lock(struct mdt_thread_info *info, struct mdt_object *o,
                 }
 
                 /*
                 }
 
                 /*
-                 * Finish res_id initializing by name hash marking patr of
+                 * Finish res_id initializing by name hash marking part of
                  * directory which is taking modification.
                  */
                 res_id->name[LUSTRE_RES_ID_HSH_OFF] = lh->mlh_pdo_hash;
                  * directory which is taking modification.
                  */
                 res_id->name[LUSTRE_RES_ID_HSH_OFF] = lh->mlh_pdo_hash;
index d758e70..ead3bfb 100644 (file)
@@ -310,7 +310,7 @@ struct mdt_thread_info {
 
         /*
          * XXX: Part Three:
 
         /*
          * XXX: Part Three:
-         * The following members will be filled expilictly
+         * The following members will be filled explictly
          * with zero in mdt_reint_unpack(), because they are only used
          * by reint requests (including mdt_reint_open()).
          */
          * with zero in mdt_reint_unpack(), because they are only used
          * by reint requests (including mdt_reint_open()).
          */
index 6f95d69..4c4690d 100644 (file)
@@ -395,7 +395,7 @@ static int mdt_mfd_open(struct mdt_thread_info *info, struct mdt_object *p,
 
         isreg = S_ISREG(la->la_mode);
         isdir = S_ISDIR(la->la_mode);
 
         isreg = S_ISREG(la->la_mode);
         isdir = S_ISDIR(la->la_mode);
-        if ((isreg && !(ma->ma_valid & MA_LOV))) {
+        if (isreg && !(ma->ma_valid & MA_LOV)) {
                 /*
                  * No EA, check whether it is will set regEA and dirEA since in
                  * above attr get, these size might be zero, so reset it, to
                 /*
                  * No EA, check whether it is will set regEA and dirEA since in
                  * above attr get, these size might be zero, so reset it, to
index c2c6add..5cfbbcb 100644 (file)
@@ -580,7 +580,7 @@ int init_obdclass(void)
                 return err;
         }
 
                 return err;
         }
 
-        /* This struct is already zerod for us (static global) */
+        /* This struct is already zeroed for us (static global) */
         for (i = 0; i < class_devno_max(); i++)
                 obd_devs[i] = NULL;
 
         for (i = 0; i < class_devno_max(); i++)
                 obd_devs[i] = NULL;
 
index 6540e24..4c8d301 100644 (file)
@@ -3498,7 +3498,7 @@ static int filter_handle_precreate(struct obd_export *exp, struct obdo *oa,
                                obd->obd_name);
                         GOTO(out, rc = 0);
                 }
                                obd->obd_name);
                         GOTO(out, rc = 0);
                 }
-                /* only precreate if group == 0 and o_id is specfied */
+                /* only precreate if group == 0 and o_id is specified */
                 if (group < FILTER_GROUP_MDS0 || oa->o_id == 0)
                         diff = 1;
                 else
                 if (group < FILTER_GROUP_MDS0 || oa->o_id == 0)
                         diff = 1;
                 else
index 6e86c6f..0e8d63f 100644 (file)
@@ -102,7 +102,7 @@ void qunit_cache_cleanup(void)
         if (qunit_cachep) {
                 int rc;
                 rc = cfs_mem_cache_destroy(qunit_cachep);
         if (qunit_cachep) {
                 int rc;
                 rc = cfs_mem_cache_destroy(qunit_cachep);
-                LASSERTF(rc == 0, "couldn't destory qunit_cache slab\n");
+                LASSERTF(rc == 0, "couldn't destroy qunit_cache slab\n");
                 qunit_cachep = NULL;
         }
         EXIT;
                 qunit_cachep = NULL;
         }
         EXIT;