]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mount,osdc: fix typos
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:28:10 +0000 (11:28 +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/mount/mount.ceph.c
src/mount/mtab.c
src/osdc/Journaler.h
src/osdc/ObjectCacher.h

index e8fdfcd5496d5edb6ab8377563f0a08b2fd6db6c..1cdf4a14816f4f5f56a70521f99e7479b38c5c96 100644 (file)
@@ -77,7 +77,7 @@ static char *mount_resolve_src(const char *orig_str)
 }
 
 /*
- * this one is partialy based on parse_options() from cifs.mount.c
+ * this one is partially based on parse_options() from cifs.mount.c
  */
 static char *parse_options(const char *data, int *filesys_flags)
 {
index 4dc82bb34faa22bc1cfbfbaa78a0829a4d50cfcf..3ce368fd329c899e8387755c09f0d0bfe9906bca 100644 (file)
@@ -105,7 +105,7 @@ unlock_mtab (void) {
 
 /*
  * The original mount locking code has used sleep(1) between attempts and
- * maximal number of attemps has been 5.
+ * maximal number of attempts has been 5.
  *
  * There was very small number of attempts and extremely long waiting (1s)
  * that is useless on machines with large number of concurret mount processes.
index 0704ee1f98edcde1839177c262726717e3736b28..e3cd9e6c508d38b9ce004c1cb1ca060eed02ff3e 100644 (file)
@@ -300,7 +300,7 @@ private:
                      ///  write_pos>flush_pos, we're buffering writes.
   uint64_t safe_pos; ///< what has been committed safely to disk.
 
-  uint64_t next_safe_pos; /// start postion of the first entry that isn't
+  uint64_t next_safe_pos; /// start position of the first entry that isn't
                          /// being fully flushed. If we don't flush any
                          // partial entry, it's equal to flush_pos.
 
index 81cda17aef62531db797a878e723d7f4666d4561..e2ea93b42cf9b709a6c8c0106e5ddb529b414079 100644 (file)
@@ -247,7 +247,7 @@ class ObjectCacher {
     map<loff_t, BufferHead*>     data;
 
     ceph_tid_t last_write_tid;  // version of bh (if non-zero)
-    ceph_tid_t last_commit_tid; // last update commited.
+    ceph_tid_t last_commit_tid; // last update committed.
 
     int dirty_or_tx;