This path fix spelling typo in lustre/include. Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx> --- drivers/staging/lustre/lustre/include/cl_object.h | 8 ++++---- drivers/staging/lustre/lustre/include/ioctl.h | 2 +- drivers/staging/lustre/lustre/include/lclient.h | 2 +- drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +- drivers/staging/lustre/lustre/include/lustre_fid.h | 2 +- drivers/staging/lustre/lustre/include/lustre_import.h | 10 +++++----- drivers/staging/lustre/lustre/include/lustre_linkea.h | 2 +- drivers/staging/lustre/lustre/include/lustre_net.h | 6 +++--- drivers/staging/lustre/lustre/include/lustre_quota.h | 2 +- drivers/staging/lustre/lustre/include/lustre_sec.h | 4 ++-- drivers/staging/lustre/lustre/include/obd_class.h | 2 +- drivers/staging/lustre/lustre/include/obd_support.h | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustre/lustre/include/cl_object.h index 76e1b68..c809239 100644 --- a/drivers/staging/lustre/lustre/include/cl_object.h +++ b/drivers/staging/lustre/lustre/include/cl_object.h @@ -1314,7 +1314,7 @@ static inline int __page_in_use(const struct cl_page *page, int refc) * calls. To achieve this, every layer can implement ->clo_fits_into() method, * that is called by lock matching code (cl_lock_lookup()), and that can be * used to selectively disable matching of certain locks for certain IOs. For - * exmaple, lov layer implements lov_lock_fits_into() that allow multi-stripe + * example, lov layer implements lov_lock_fits_into() that allow multi-stripe * locks to be matched only for truncates and O_APPEND writes. * * Interaction with DLM @@ -2385,7 +2385,7 @@ struct cl_io { * Check if layout changed after the IO finishes. Mainly for HSM * requirement. If IO occurs to openning files, it doesn't need to * verify layout because HSM won't release openning files. - * Right now, only two opertaions need to verify layout: glimpse + * Right now, only two operations need to verify layout: glimpse * and setattr. */ ci_verify_layout:1, @@ -2556,7 +2556,7 @@ struct cl_req_obj { */ struct cl_req { enum cl_req_type crq_type; - /** A list of pages being transfered */ + /** A list of pages being transferred */ struct list_head crq_pages; /** Number of pages in cl_req::crq_pages */ unsigned crq_nrpages; @@ -3228,7 +3228,7 @@ void cl_sync_io_note(struct cl_sync_io *anchor, int ioret); * * - call chains have no non-lustre portions inserted between lustre code. * - * On a client both these assumtpion fails, because every user thread can + * On a client both these assumption fails, because every user thread can * potentially execute lustre code as part of a system call, and lustre calls * into VFS or MM that call back into lustre. * diff --git a/drivers/staging/lustre/lustre/include/ioctl.h b/drivers/staging/lustre/lustre/include/ioctl.h index 227c261..b986920 100644 --- a/drivers/staging/lustre/lustre/include/ioctl.h +++ b/drivers/staging/lustre/lustre/include/ioctl.h @@ -38,7 +38,7 @@ * and on newer kernels this header is shared as _ASM_GENERIC_IOCTL_H. * * We can avoid any problems with the kernel header being included again by - * defining _ASM_I386_IOCTL_H here so that a later occurence of <asm/ioctl.h> + * defining _ASM_I386_IOCTL_H here so that a later occurrence of <asm/ioctl.h> * does not include the kernel's ioctl.h after this one. b=14746 */ #define _ASM_I386_IOCTL_H #define _ASM_GENERIC_IOCTL_H diff --git a/drivers/staging/lustre/lustre/include/lclient.h b/drivers/staging/lustre/lustre/include/lclient.h index de8f82c..827209e 100644 --- a/drivers/staging/lustre/lustre/include/lclient.h +++ b/drivers/staging/lustre/lustre/include/lclient.h @@ -119,7 +119,7 @@ struct ccc_io { /** * True, if \a io is a normal io, False for splice_{read,write}. - * must be impementated in arch specific code. + * must be implemented in arch specific code. */ int cl_is_normalio(const struct lu_env *env, const struct cl_io *io); diff --git a/drivers/staging/lustre/lustre/include/lustre_dlm.h b/drivers/staging/lustre/lustre/include/lustre_dlm.h index f57e3e8..3e25f00 100644 --- a/drivers/staging/lustre/lustre/include/lustre_dlm.h +++ b/drivers/staging/lustre/lustre/include/lustre_dlm.h @@ -330,7 +330,7 @@ enum { }; typedef enum { - /** invalide type */ + /** invalid type */ LDLM_NS_TYPE_UNKNOWN = 0, /** mdc namespace */ LDLM_NS_TYPE_MDC, diff --git a/drivers/staging/lustre/lustre/include/lustre_fid.h b/drivers/staging/lustre/lustre/include/lustre_fid.h index 9128712..5e7b316 100644 --- a/drivers/staging/lustre/lustre/include/lustre_fid.h +++ b/drivers/staging/lustre/lustre/include/lustre_fid.h @@ -570,7 +570,7 @@ fid_build_pdo_res_name(const struct lu_fid *fid, unsigned int hash, * Currently, resid from the old client, whose res[0] = object_id, * res[1] = object_seq, is just opposite with Metatdata * resid, where, res[0] = fid->f_seq, res[1] = fid->f_oid. - * To unifiy the resid identification, we will reverse the data + * To unify the resid identification, we will reverse the data * resid to keep it same with Metadata resid, i.e. * * For resid from the old client, diff --git a/drivers/staging/lustre/lustre/include/lustre_import.h b/drivers/staging/lustre/lustre/include/lustre_import.h index e9833ae..01ed786 100644 --- a/drivers/staging/lustre/lustre/include/lustre_import.h +++ b/drivers/staging/lustre/lustre/include/lustre_import.h @@ -152,7 +152,7 @@ struct import_state_hist { }; /** - * Defintion of PortalRPC import structure. + * Definition of PortalRPC import structure. * Imports are representing client-side view to remote target. */ struct obd_import { @@ -230,7 +230,7 @@ struct obd_import { * after a check to save on unnecessary replay list iterations */ int imp_last_generation_checked; - /** Last tranno we replayed */ + /** Last transno we replayed */ __u64 imp_last_replay_transno; /** Last transno committed on remote side */ __u64 imp_peer_committed_transno; @@ -248,7 +248,7 @@ struct obd_import { struct lustre_handle imp_remote_handle; /** When to perform next ping. time in jiffies. */ cfs_time_t imp_next_ping; - /** When we last succesfully connected. time in 64bit jiffies */ + /** When we last successfully connected. time in 64bit jiffies */ __u64 imp_last_success_conn; /** List of all possible connection for import. */ @@ -279,7 +279,7 @@ struct obd_import { imp_no_lock_replay:1, /* recovery by versions was failed */ imp_vbr_failed:1, - /* force an immidiate ping */ + /* force an immediate ping */ imp_force_verify:1, /* force a scheduled ping */ imp_force_next_verify:1, @@ -292,7 +292,7 @@ struct obd_import { /* need IR MNE swab */ imp_need_mne_swab:1, /* import must be reconnected instead of - * chouse new connection */ + * chose new connection */ imp_force_reconnect:1, /* import has tried to connect with server */ imp_connect_tried:1; diff --git a/drivers/staging/lustre/lustre/include/lustre_linkea.h b/drivers/staging/lustre/lustre/include/lustre_linkea.h index 5790be9..500ace3 100644 --- a/drivers/staging/lustre/lustre/include/lustre_linkea.h +++ b/drivers/staging/lustre/lustre/include/lustre_linkea.h @@ -33,7 +33,7 @@ struct linkea_data { */ struct lu_buf *ld_buf; /** - * The matched header, entry and its lenght in the EA + * The matched header, entry and its length in the EA */ struct link_ea_header *ld_leh; struct link_ea_entry *ld_lee; diff --git a/drivers/staging/lustre/lustre/include/lustre_net.h b/drivers/staging/lustre/lustre/include/lustre_net.h index 51b44f9..745adbb 100644 --- a/drivers/staging/lustre/lustre/include/lustre_net.h +++ b/drivers/staging/lustre/lustre/include/lustre_net.h @@ -454,9 +454,9 @@ struct ptlrpc_reply_state { /** Size of the reply message */ int rs_repdata_len; /* wrapper msg length */ /** - * Actual reply message. Its content is encrupted (if needed) to + * Actual reply message. Its content is encrypted (if needed) to * produce reply buffer for actual sending. In simple case - * of no network encryption we jus set \a rs_repbuf to \a rs_msg + * of no network encryption we just set \a rs_repbuf to \a rs_msg */ struct lustre_msg *rs_msg; /* reply message */ @@ -904,7 +904,7 @@ struct ptlrpc_nrs_pol_conf { */ struct module *nc_owner; /** - * Policy registration flags; a bitmast of \e nrs_policy_flags + * Policy registration flags; a bitmask of \e nrs_policy_flags */ unsigned nc_flags; }; diff --git a/drivers/staging/lustre/lustre/include/lustre_quota.h b/drivers/staging/lustre/lustre/include/lustre_quota.h index 71b5d97..07cb7c3 100644 --- a/drivers/staging/lustre/lustre/include/lustre_quota.h +++ b/drivers/staging/lustre/lustre/include/lustre_quota.h @@ -140,7 +140,7 @@ struct qsd_instance; * (i.e. when ->ldo_recovery_complete is called). This is used * to notify the qsd layer that quota should now be enforced * again via the qsd_op_begin/end functions. The last step of the - * reintegration prodecure (namely usage reconciliation) will be + * reintegration procedure (namely usage reconciliation) will be * completed during start. * * - qsd_fini(): is used to release a qsd_instance structure allocated with diff --git a/drivers/staging/lustre/lustre/include/lustre_sec.h b/drivers/staging/lustre/lustre/include/lustre_sec.h index 885247d..bf3ee39 100644 --- a/drivers/staging/lustre/lustre/include/lustre_sec.h +++ b/drivers/staging/lustre/lustre/include/lustre_sec.h @@ -572,7 +572,7 @@ struct ptlrpc_sec_cops { /** * Called then the reference of \a ctx dropped to 0. The policy module * is supposed to destroy this context or whatever else according to - * its cache maintainance mechamism. + * its cache maintenance mechanism. * * \param sync if zero, we shouldn't wait for the context being * destroyed completely. @@ -1002,7 +1002,7 @@ struct ptlrpc_sec *sptlrpc_sec_get(struct ptlrpc_sec *sec); void sptlrpc_sec_put(struct ptlrpc_sec *sec); /* - * internal apis which only used by policy impelentation + * internal apis which only used by policy implementation */ int sptlrpc_get_next_secid(void); void sptlrpc_sec_destroy(struct ptlrpc_sec *sec); diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h index 0a18820..9d1f266 100644 --- a/drivers/staging/lustre/lustre/include/obd_class.h +++ b/drivers/staging/lustre/lustre/include/obd_class.h @@ -1631,7 +1631,7 @@ static inline int obd_health_check(const struct lu_env *env, { /* returns: 0 on healthy * >0 on unhealthy + reason code/flag - * however the only suppored reason == 1 right now + * however the only supported reason == 1 right now * We'll need to define some better reasons * or flags in the future. * <0 on error diff --git a/drivers/staging/lustre/lustre/include/obd_support.h b/drivers/staging/lustre/lustre/include/obd_support.h index 977bc23..5ec3369 100644 --- a/drivers/staging/lustre/lustre/include/obd_support.h +++ b/drivers/staging/lustre/lustre/include/obd_support.h @@ -681,7 +681,7 @@ do { \ * * Be very careful when changing this value, especially when decreasing it, * since vmalloc in Linux doesn't perform well on multi-cores system, calling - * vmalloc in critical path would hurt peformance badly. See LU-66. + * vmalloc in critical path would hurt performance badly. See LU-66. */ #define OBD_ALLOC_BIG (4 * PAGE_CACHE_SIZE) -- 1.9.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel