From 33b82aa398e5ecd3c29d0a9eb5f5eba73611c6f6 Mon Sep 17 00:00:00 2001 From: nikita Date: Sat, 18 Oct 2008 15:15:47 +0000 Subject: [PATCH] A couple of trivial spelling fixes. b=16450 --- lustre/ChangeLog | 7 ++++++- lustre/cmm/cmm_object.c | 2 +- lustre/fld/fld_request.c | 2 +- lustre/ldlm/ldlm_extent.c | 2 +- lustre/mdt/mdt_handler.c | 2 +- lustre/mdt/mdt_internal.h | 2 +- lustre/mdt/mdt_open.c | 2 +- lustre/obdclass/class_obd.c | 2 +- lustre/obdfilter/filter.c | 2 +- lustre/quota/quota_context.c | 2 +- 10 files changed, 15 insertions(+), 10 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 5e1bc84..02b268d 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -1447,7 +1447,12 @@ Severity : normal 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. diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 13176b3..0d9ac93 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -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 - * choosen. + * chosen. */ rc = cmm_split_dir(env, mo_p); if (rc) diff --git a/lustre/fld/fld_request.c b/lustre/fld/fld_request.c index 29a2813..cdb5110 100644 --- a/lustre/fld/fld_request.c +++ b/lustre/fld/fld_request.c @@ -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() - * 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. */ diff --git a/lustre/ldlm/ldlm_extent.c b/lustre/ldlm/ldlm_extent.c index 5825ca0..689f0a2 100644 --- a/lustre/ldlm/ldlm_extent.c +++ b/lustre/ldlm/ldlm_extent.c @@ -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 - * 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. */ diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index b108250..d34b459 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -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; diff --git a/lustre/mdt/mdt_internal.h b/lustre/mdt/mdt_internal.h index d758e70..ead3bfb 100644 --- a/lustre/mdt/mdt_internal.h +++ b/lustre/mdt/mdt_internal.h @@ -310,7 +310,7 @@ struct mdt_thread_info { /* * 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()). */ diff --git a/lustre/mdt/mdt_open.c b/lustre/mdt/mdt_open.c index 6f95d69..4c4690d 100644 --- a/lustre/mdt/mdt_open.c +++ b/lustre/mdt/mdt_open.c @@ -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); - 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 diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c index c2c6add..5cfbbcb 100644 --- a/lustre/obdclass/class_obd.c +++ b/lustre/obdclass/class_obd.c @@ -580,7 +580,7 @@ int init_obdclass(void) 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; diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 6540e24..4c8d301 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -3498,7 +3498,7 @@ static int filter_handle_precreate(struct obd_export *exp, struct obdo *oa, 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 diff --git a/lustre/quota/quota_context.c b/lustre/quota/quota_context.c index 6e86c6f..0e8d63f 100644 --- a/lustre/quota/quota_context.c +++ b/lustre/quota/quota_context.c @@ -102,7 +102,7 @@ void qunit_cache_cleanup(void) 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; -- 1.8.3.1