]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging:lustre: Fix typo in comment and printk within lustre/obdclass
authorMasanari Iida <standby24x7@gmail.com>
Fri, 14 Feb 2014 16:11:17 +0000 (01:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 17:18:39 +0000 (09:18 -0800)
This patch fixed spelling typo within lustre/lustre/obdclass.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/cl_io.c
drivers/staging/lustre/lustre/obdclass/cl_object.c
drivers/staging/lustre/lustre/obdclass/genops.c
drivers/staging/lustre/lustre/obdclass/llog_lvfs.c
drivers/staging/lustre/lustre/obdclass/llog_osd.c
drivers/staging/lustre/lustre/obdclass/local_storage.c
drivers/staging/lustre/lustre/obdclass/lu_object.c
drivers/staging/lustre/lustre/obdclass/md_attrs.c
drivers/staging/lustre/lustre/obdclass/obd_config.c
drivers/staging/lustre/lustre/obdclass/obd_mount.c
drivers/staging/lustre/lustre/obdclass/obdo.c

index e048500edd60c680aa280d872fe34f576ba66172..3bebc78e76738a18ca2e7a72a31d8a8ca783f2c4 100644 (file)
@@ -942,7 +942,7 @@ int cl_io_cancel(const struct lu_env *env, struct cl_io *io,
        struct cl_page *page;
        int result = 0;
 
-       CERROR("Canceling ongoing page trasmission\n");
+       CERROR("Canceling ongoing page transmission\n");
        cl_page_list_for_each(page, queue) {
                int rc;
 
index 1a926036724b8f7d30c5bb8ab5b0b03158b5ebc6..0fc256f59e92ae7303bb5ce64f8751cc80dc70fd 100644 (file)
@@ -508,7 +508,7 @@ EXPORT_SYMBOL(cl_site_stats_print);
  * about journal_info. Currently following fields in task_struct are identified
  * can be used for this purpose:
  *  - cl_env: for liblustre.
- *  - tux_info: ony on RedHat kernel.
+ *  - tux_info: only on RedHat kernel.
  *  - ...
  * \note As long as we use task_struct to store cl_env, we assume that once
  * called into Lustre, we'll never call into the other part of the kernel
index d9f750d42c8058b67a08806bf532c8ed5ab8d7e2..d27f0411d355e913f9e873f136545c4d75414fc6 100644 (file)
@@ -1625,7 +1625,7 @@ static int obd_zombie_impexp_check(void *arg)
 }
 
 /**
- * Add export to the obd_zombe thread and notify it.
+ * Add export to the obd_zombie thread and notify it.
  */
 static void obd_zombie_export_add(struct obd_export *exp) {
        spin_lock(&exp->exp_obd->obd_dev_lock);
@@ -1641,7 +1641,7 @@ static void obd_zombie_export_add(struct obd_export *exp) {
 }
 
 /**
- * Add import to the obd_zombe thread and notify it.
+ * Add import to the obd_zombie thread and notify it.
  */
 static void obd_zombie_import_add(struct obd_import *imp) {
        LASSERT(imp->imp_sec == NULL);
@@ -1661,7 +1661,7 @@ static void obd_zombie_import_add(struct obd_import *imp) {
 static void obd_zombie_impexp_notify(void)
 {
        /*
-        * Make sure obd_zomebie_impexp_thread get this notification.
+        * Make sure obd_zombie_impexp_thread get this notification.
         * It is possible this signal only get by obd_zombie_barrier, and
         * barrier gulps this notification and sleeps away and hangs ensues
         */
index 5385d8e658cff65b4a3c199cb51ba3691959812a..d86bb8c60354aa2b3bce9b5572bedec23d45bcf8 100644 (file)
@@ -376,7 +376,7 @@ static void llog_skip_over(__u64 *off, int curr, int goal)
 
 /* sets:
  *  - cur_offset to the furthest point read in the log file
- *  - cur_idx to the log index preceeding cur_offset
+ *  - cur_idx to the log index preceding cur_offset
  * returns -EIO/-EINVAL on error
  */
 static int llog_lvfs_next_block(const struct lu_env *env,
index 654c8e18965309bd4b8ff58472d125a35678955c..682279de8beac63afe652eb91cbfacd6a7e7f94a 100644 (file)
@@ -514,7 +514,7 @@ static void llog_skip_over(__u64 *off, int curr, int goal)
 
 /* sets:
  *  - cur_offset to the furthest point read in the log file
- *  - cur_idx to the log index preceeding cur_offset
+ *  - cur_idx to the log index preceding cur_offset
  * returns -EIO/-EINVAL on error
  */
 static int llog_osd_next_block(const struct lu_env *env,
@@ -1073,7 +1073,7 @@ static int llog_osd_setup(const struct lu_env *env, struct obd_device *obd,
        LASSERT(ctxt);
 
        /* initialize data allowing to generate new fids,
-        * literally we need a sequece */
+        * literally we need a sequence */
        lgi->lgi_fid.f_seq = FID_SEQ_LLOG;
        lgi->lgi_fid.f_oid = 1;
        lgi->lgi_fid.f_ver = 0;
@@ -1280,7 +1280,7 @@ int llog_osd_put_cat_list(const struct lu_env *env, struct dt_device *d,
        lgi->lgi_buf.lb_len = size;
        rc = dt_record_write(env, o, &lgi->lgi_buf, &lgi->lgi_off, th);
        if (rc)
-               CDEBUG(D_INODE, "error writeing CATALOGS: rc = %d\n", rc);
+               CDEBUG(D_INODE, "error writing CATALOGS: rc = %d\n", rc);
 out_trans:
        dt_trans_stop(env, d, th);
 out:
index e79e4beb3628f817dc406559919c2c68fbf2bd6a..e76f7d044231696c7f71d385d112abdf6989a8df 100644 (file)
@@ -737,7 +737,7 @@ int lastid_compat_check(const struct lu_env *env, struct dt_device *dev,
  * All dynamic fids will be generated with the same sequence and incremented
  * OIDs
  *
- * Returned local_oid_storage is in-memory representaion of OID storage
+ * Returned local_oid_storage is in-memory representation of OID storage
  */
 int local_oid_storage_init(const struct lu_env *env, struct dt_device *dev,
                           const struct lu_fid *first_fid,
index 9887d8fffb6e9f0132bfee65a7a2ba447a540969..492964a38e7cdb01d2b0094ca2d7a6a289ad71bc 100644 (file)
@@ -2100,7 +2100,7 @@ void lu_object_assign_fid(const struct lu_env *env, struct lu_object *o,
 EXPORT_SYMBOL(lu_object_assign_fid);
 
 /**
- * allocates object with 0 (non-assiged) fid
+ * allocates object with 0 (non-assigned) fid
  * XXX: temporary solution to be able to assign fid in ->do_create()
  *      till we have fully-functional OST fids
  */
index f7187829e276fb5c5558ea5ccecc7ac776751b7b..f080cceb384cd920801e3971b847c5bfa0c9db15 100644 (file)
@@ -60,7 +60,7 @@ EXPORT_SYMBOL(lustre_lma_init);
  */
 void lustre_lma_swab(struct lustre_mdt_attrs *lma)
 {
-       /* Use LUSTRE_MSG_MAGIC to detect local endianess. */
+       /* Use LUSTRE_MSG_MAGIC to detect local endianness. */
        if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
                __swab32s(&lma->lma_compat);
                __swab32s(&lma->lma_incompat);
@@ -77,7 +77,7 @@ EXPORT_SYMBOL(lustre_lma_swab);
  */
 void lustre_som_swab(struct som_attrs *attrs)
 {
-       /* Use LUSTRE_MSG_MAGIC to detect local endianess. */
+       /* Use LUSTRE_MSG_MAGIC to detect local endianness. */
        if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
                __swab32s(&attrs->som_compat);
                __swab32s(&attrs->som_incompat);
@@ -135,7 +135,7 @@ EXPORT_SYMBOL(lustre_buf2som);
  */
 void lustre_hsm_swab(struct hsm_attrs *attrs)
 {
-       /* Use LUSTRE_MSG_MAGIC to detect local endianess. */
+       /* Use LUSTRE_MSG_MAGIC to detect local endianness. */
        if (LUSTRE_MSG_MAGIC != cpu_to_le32(LUSTRE_MSG_MAGIC)) {
                __swab32s(&attrs->hsm_compat);
                __swab32s(&attrs->hsm_flags);
index 27f56c0ab441cb4306277e1130830bc1cbdfdbcc..2cdfa21638e2302b7de3d94c110d79ac76dd783f 100644 (file)
@@ -592,7 +592,7 @@ int class_detach(struct obd_device *obd, struct lustre_cfg *lcfg)
 }
 EXPORT_SYMBOL(class_detach);
 
-/** Start shutting down the obd.  There may be in-progess ops when
+/** Start shutting down the obd.  There may be in-progress ops when
  * this is called.  We tell them to start shutting down with a call
  * to class_disconnect_exports().
  */
@@ -655,7 +655,7 @@ int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
        /* The three references that should be remaining are the
         * obd_self_export and the attach and setup references. */
        if (atomic_read(&obd->obd_refcount) > 3) {
-               /* refcounf - 3 might be the number of real exports
+               /* refcount - 3 might be the number of real exports
                   (excluding self export). But class_incref is called
                   by other things as well, so don't count on it. */
                CDEBUG(D_IOCTL, "%s: forcing exports to disconnect: %d\n",
index a69a630b596e117d2bc5af165499d2cbdb53dc55..6f8ba54e9667a3558690cdfabbf17b1861c018eb 100644 (file)
@@ -501,7 +501,7 @@ static int lustre_stop_mgc(struct super_block *sb)
        }
 
        /* The MGC has no recoverable data in any case.
-        * force shotdown set in umount_begin */
+        * force shutdown set in umount_begin */
        obd->obd_no_recov = 1;
 
        if (obd->u.cli.cl_mgc_mgsexp) {
@@ -754,7 +754,7 @@ int server_name2index(const char *svname, __u32 *idx, const char **endptr)
 }
 EXPORT_SYMBOL(server_name2index);
 
-/*************** mount common betweeen server and client ***************/
+/*************** mount common between server and client ***************/
 
 /* Common umount */
 int lustre_common_put_super(struct super_block *sb)
index e9cd6db43eeb88a2a839aee4e61d9360d37e0b31..3b1b28afd6b19b01922a25b3f0764f74ca08e6d9 100644 (file)
@@ -191,7 +191,7 @@ int obdo_cmp_md(struct obdo *dst, struct obdo *src, obd_flag compare)
        }
        if ( compare & OBD_MD_FLGENER )
                res = (res || (dst->o_parent_oid != src->o_parent_oid));
-       /* XXX Don't know if thses should be included here - wasn't previously
+       /* XXX Don't know if these should be included here - wasn't previously
        if ( compare & OBD_MD_FLINLINE )
                res = (res || memcmp(dst->o_inline, src->o_inline));
        */