From: Masanari Iida Date: Sat, 8 Mar 2014 13:58:36 +0000 (+0900) Subject: staging: lustre: Fix spelling typo in various part of luster X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=34ca8748e0aaff8bb4f6119bff6197392acd7a83;p=linux-beck.git staging: lustre: Fix spelling typo in various part of luster This patch fix spelling typo in comments within various part of luster sources. Signed-off-by: Masanari Iida Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/fld/fld_internal.h b/drivers/staging/lustre/lustre/fld/fld_internal.h index 5f3935cc0fd7..8661a788f120 100644 --- a/drivers/staging/lustre/lustre/fld/fld_internal.h +++ b/drivers/staging/lustre/lustre/fld/fld_internal.h @@ -90,7 +90,7 @@ struct fld_cache { int fci_threshold; /** - * Prefered number of cached entries */ + * Preferred number of cached entries */ int fci_cache_size; /** diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_request.c b/drivers/staging/lustre/lustre/ldlm/ldlm_request.c index c0e54aead2ce..fcc7a99ce395 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_request.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_request.c @@ -299,7 +299,7 @@ EXPORT_SYMBOL(ldlm_completion_ast); * A helper to build a blocking AST function * * Perform a common operation for blocking ASTs: - * defferred lock cancellation. + * deferred lock cancellation. * * \param lock the lock blocking or canceling AST was called on * \retval 0 diff --git a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c index 428ffd8c37b7..e44b7a532de7 100644 --- a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c +++ b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c @@ -55,7 +55,7 @@ struct lprocfs_stats *obd_memory = NULL; EXPORT_SYMBOL(obd_memory); -/* refine later and change to seqlock or simlar from libcfs */ +/* refine later and change to seqlock or similar from libcfs */ /* Debugging check only needed during development */ #ifdef OBD_CTXT_DEBUG diff --git a/drivers/staging/lustre/lustre/mdc/mdc_locks.c b/drivers/staging/lustre/lustre/mdc/mdc_locks.c index b0d0e2a1744e..523f089f0aa8 100644 --- a/drivers/staging/lustre/lustre/mdc/mdc_locks.c +++ b/drivers/staging/lustre/lustre/mdc/mdc_locks.c @@ -876,7 +876,7 @@ resend: rc = ldlm_cli_enqueue(exp, &req, einfo, &res_id, policy, &flags, NULL, 0, lvb_type, lockh, 0); if (!it) { - /* For flock requests we immediatelly return without further + /* For flock requests we immediately return without further delay and let caller deal with the rest, since rest of this function metadata processing makes no sense for flock requests anyway. But in case of problem during comms with diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index b391b05ab6f8..de9fb1433edd 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -1632,7 +1632,7 @@ static int mgc_llog_local_copy(const struct lu_env *env, /* * - copy it to backup using llog_backup() * - copy remote llog to logname using llog_backup() - * - if failed then move bakup to logname again + * - if failed then move backup to logname again */ OBD_ALLOC(temp_log, strlen(logname) + 1); diff --git a/drivers/staging/lustre/lustre/osc/osc_cache.c b/drivers/staging/lustre/lustre/osc/osc_cache.c index af25c19c88fa..fe9989a49f81 100644 --- a/drivers/staging/lustre/lustre/osc/osc_cache.c +++ b/drivers/staging/lustre/lustre/osc/osc_cache.c @@ -1020,7 +1020,7 @@ out: /** * This function is used to make the extent prepared for transfer. - * A race with flusing page - ll_writepage() has to be handled cautiously. + * A race with flushing page - ll_writepage() has to be handled cautiously. */ static int osc_extent_make_ready(const struct lu_env *env, struct osc_extent *ext)