]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix typos
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:26:41 +0000 (11:26 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Sep 2018 04:43:33 +0000 (12:43 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mds/CInode.h
src/mds/MDSMap.h
src/mds/ScatterLock.h
src/mds/ScrubStack.h
src/mds/StrayManager.h
src/mds/events/EMetaBlob.h

index 87a7cca09dbd094babff9d13bb505ea77d5d5b6c..f74c7d9fa77ee2cab5d488e53cf281e5a180ae83 100644 (file)
@@ -371,7 +371,7 @@ class CInode : public MDSCacheObject, public InodeStoreBase, public Counter<CIno
 
 private:
   /**
-   * Create a scrub_info_t struct for the scrub_infop poitner.
+   * Create a scrub_info_t struct for the scrub_infop pointer.
    */
   void scrub_info_create() const;
   /**
index 37a26e60028b16937ebb90974a60d6bdd7b5b8e1..562bc38316da5dcbc580e31a9ca586a4f3fdbb66 100644 (file)
@@ -469,7 +469,7 @@ public:
    *
    * A STUCK_UNAVAILABLE result indicates that we can't see a way that
    * the cluster is about to recover on its own, so it'll probably require
-   * administrator intervention: clients should probaly not bother trying
+   * administrator intervention: clients should probably not bother trying
    * to mount.
    */
   availability_t is_cluster_available() const;
index 646e100c77cd81a5961862dd71e7c2d3cd9bcf0e..1523570dd69a84abc7a37aabcfd96fad86989a28 100644 (file)
@@ -187,7 +187,7 @@ public:
     //
     // For example:
     // The recovering mds is auth mds of a dirfrag, this mds is auth mds
-    // of correspinding inode. when 'rm -rf' the direcotry, this mds should
+    // of corresponding inode. when 'rm -rf' the direcotry, this mds should
     // delay the rmdir request until the recovering mds has replayed unlink
     // requests.
     if (s == LOCK_MIX || s == LOCK_MIX_LOCK || s == LOCK_MIX_SYNC)
index c727dc97b0f5a1b1682d52fce53f6421059ec271..86e0b28e7d4671167df3533affbf3931e9ea8d65 100644 (file)
@@ -70,7 +70,7 @@ public:
    * If there are other scrubs in progress, they will not continue scrubbing new
    * entries until this one is completed.
    * @param in The inodey to scrub
-   * @param header The ScrubHeader propagated from whereever this scrub
+   * @param header The ScrubHeader propagated from wherever this scrub
    *               was initiated
    */
   void enqueue_inode_top(CInode *in, ScrubHeaderRef& header,
index b5b7d73a17e3eeb80d0f50224c68224fba309968..c0842de878ee90d6aef58b2eb4337b872069d092 100644 (file)
@@ -85,7 +85,7 @@ class StrayManager
 
 
   // Call this on a dentry that has been identified as
-  // elegible for purging.  It will be passed on to PurgeQueue.
+  // eligible for purging.  It will be passed on to PurgeQueue.
   void enqueue(CDentry *dn, bool trunc);
 
   // Final part of enqueue() which we may have to retry
index a1077f37636b2fae60d352b81df9860a4045d809..199e5fa865c155543a8731f01c988e36d024ae5c 100644 (file)
@@ -39,7 +39,7 @@ struct MDSlaveUpdate;
  *
  * - make sure you adjust the inode.version for any modified inode you
  *   journal.  CDir and CDentry maintain a projected_version, but CInode
- *   doesn't, since the journaled inode usually has to be modifed 
+ *   doesn't, since the journaled inode usually has to be modified 
  *   manually anyway (to delay the change in the MDS's cache until after
  *   it is journaled).
  *