]> Pileus Git - ~andy/linux/commitdiff
staging: lustre: Fix typo in lustre/lustre/lov
authorMasanari Iida <standby24x7@gmail.com>
Fri, 13 Dec 2013 17:24:02 +0000 (02:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:46:40 +0000 (09:46 -0800)
Correct spelling typo in lustre/lustre/lov

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_lock.c
drivers/staging/lustre/lustre/lov/lov_merge.c
drivers/staging/lustre/lustre/lov/lov_obd.c
drivers/staging/lustre/lustre/lov/lov_pool.c
drivers/staging/lustre/lustre/lov/lov_request.c

index 26bc719b6dc87c5b29fc3ab829dc0d0c4ba36a91..ed2726e523e8bae70e3dbd831064b813f2b51cb5 100644 (file)
@@ -71,7 +71,7 @@ static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env,
        /*
         * FIXME: We tend to use the subio's env & io to call the sublock
         * lock operations because osc lock sometimes stores some control
-        * variables in thread's IO infomation(Now only lockless information).
+        * variables in thread's IO information(Now only lockless information).
         * However, if the lock's host(object) is different from the object
         * for current IO, we have no way to get the subenv and subio because
         * they are not initialized at all. As a temp fix, in this case,
index d204fedea34886140f42c95693a4436b96024fa5..9defa55d9919e4cf87e93b8ddc7c29a795bb9fbc 100644 (file)
@@ -156,7 +156,7 @@ int lov_adjust_kms(struct obd_export *exp, struct lov_stripe_md *lsm,
                        kms = lov_size_to_stripe(lsm, size, stripe);
                        CDEBUG(D_INODE,
                               "stripe %d KMS %sing "LPU64"->"LPU64"\n",
-                              stripe, kms > loi->loi_kms ? "increas":"shrink",
+                              stripe, kms > loi->loi_kms ? "increase":"shrink",
                               loi->loi_kms, kms);
                        loi_kms_set(loi, loi->loi_lvb.lvb_size = kms);
                }
index 4783450774cd1909a39fbeaaa2d92d925eb88dad..50a77c5ef69acf709af99c61b4fe6c2e2733b189 100644 (file)
@@ -1174,7 +1174,7 @@ static int lov_getattr_interpret(struct ptlrpc_request_set *rqset,
        struct lov_request_set *lovset = (struct lov_request_set *)data;
        int err;
 
-       /* don't do attribute merge if this aysnc op failed */
+       /* don't do attribute merge if this async op failed */
        if (rc)
                atomic_set(&lovset->set_completes, 0);
        err = lov_fini_getattr_set(lovset);
index a1701dfe4083978764a403281c5f71be540ef037..3bda0c1f3c19288a8425472decbc41ce63f1f9b1 100644 (file)
@@ -453,7 +453,7 @@ int lov_pool_new(struct obd_device *obd, char *poolname)
        INIT_HLIST_NODE(&new_pool->pool_hash);
 
 #ifdef LPROCFS
-       /* we need this assert seq_file is not implementated for liblustre */
+       /* we need this assert seq_file is not implemented for liblustre */
        /* get ref for /proc file */
        lov_pool_getref(new_pool);
        new_pool->pool_proc_entry = lprocfs_add_simple(lov->lov_pool_proc_entry,
index bf324ae2946f11cac0b0cdd4a04796094756d102..ca81cac9041c2e9b1d97edf5c64e3378511ff2dc 100644 (file)
@@ -835,7 +835,7 @@ int lov_fini_getattr_set(struct lov_request_set *set)
        return rc;
 }
 
-/* The callback for osc_getattr_async that finilizes a request info when a
+/* The callback for osc_getattr_async that finalizes a request info when a
  * response is received. */
 static int cb_getattr_update(void *cookie, int rc)
 {
@@ -1017,7 +1017,7 @@ int lov_update_setattr_set(struct lov_request_set *set,
        return rc;
 }
 
-/* The callback for osc_setattr_async that finilizes a request info when a
+/* The callback for osc_setattr_async that finalizes a request info when a
  * response is received. */
 static int cb_setattr_update(void *cookie, int rc)
 {
@@ -1140,7 +1140,7 @@ int lov_update_punch_set(struct lov_request_set *set,
        return rc;
 }
 
-/* The callback for osc_punch that finilizes a request info when a response
+/* The callback for osc_punch that finalizes a request info when a response
  * is received. */
 static int cb_update_punch(void *cookie, int rc)
 {
@@ -1236,8 +1236,8 @@ int lov_fini_sync_set(struct lov_request_set *set)
        return rc;
 }
 
-/* The callback for osc_sync that finilizes a request info when a
- * response is recieved. */
+/* The callback for osc_sync that finalizes a request info when a
+ * response is received. */
 static int cb_sync_update(void *cookie, int rc)
 {
        struct obd_info *oinfo = cookie;
@@ -1407,7 +1407,7 @@ void lov_update_statfs(struct obd_statfs *osfs, struct obd_statfs *lov_sfs,
        }
 }
 
-/* The callback for osc_statfs_async that finilizes a request info when a
+/* The callback for osc_statfs_async that finalizes a request info when a
  * response is received. */
 static int cb_statfs_update(void *cookie, int rc)
 {
@@ -1485,7 +1485,7 @@ int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo,
                        continue;
                }
 
-               /* skip targets that have been explicitely disabled by the
+               /* skip targets that have been explicitly disabled by the
                 * administrator */
                if (!lov->lov_tgts[i]->ltd_exp) {
                        CDEBUG(D_HA, "lov idx %d administratively disabled\n", i);