From: Kefu Chai Date: Tue, 18 Sep 2018 03:28:10 +0000 (+0800) Subject: mount,osdc: fix typos X-Git-Tag: v14.0.1~213^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c33ce07fb8effa7e7c9074831db65a175f86ffa5;p=ceph.git mount,osdc: fix typos Signed-off-by: Kefu Chai --- diff --git a/src/mount/mount.ceph.c b/src/mount/mount.ceph.c index e8fdfcd5496d5..1cdf4a14816f4 100644 --- a/src/mount/mount.ceph.c +++ b/src/mount/mount.ceph.c @@ -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) { diff --git a/src/mount/mtab.c b/src/mount/mtab.c index 4dc82bb34faa2..3ce368fd329c8 100644 --- a/src/mount/mtab.c +++ b/src/mount/mtab.c @@ -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. diff --git a/src/osdc/Journaler.h b/src/osdc/Journaler.h index 0704ee1f98edc..e3cd9e6c508d3 100644 --- a/src/osdc/Journaler.h +++ b/src/osdc/Journaler.h @@ -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. diff --git a/src/osdc/ObjectCacher.h b/src/osdc/ObjectCacher.h index 81cda17aef625..e2ea93b42cf9b 100644 --- a/src/osdc/ObjectCacher.h +++ b/src/osdc/ObjectCacher.h @@ -247,7 +247,7 @@ class ObjectCacher { map 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;