diff options
author | Kefu Chai <kchai@redhat.com> | 2018-09-18 05:28:10 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-09-21 06:43:33 +0200 |
commit | c33ce07fb8effa7e7c9074831db65a175f86ffa5 (patch) | |
tree | 4f82dc3347364d5ec61f6c955a56e81de7c91a05 | |
parent | mgr/PyFormatter: fix typos (diff) | |
download | ceph-c33ce07fb8effa7e7c9074831db65a175f86ffa5.tar.xz ceph-c33ce07fb8effa7e7c9074831db65a175f86ffa5.zip |
mount,osdc: fix typos
Signed-off-by: Kefu Chai <kchai@redhat.com>
-rw-r--r-- | src/mount/mount.ceph.c | 2 | ||||
-rw-r--r-- | src/mount/mtab.c | 2 | ||||
-rw-r--r-- | src/osdc/Journaler.h | 2 | ||||
-rw-r--r-- | src/osdc/ObjectCacher.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mount/mount.ceph.c b/src/mount/mount.ceph.c index e8fdfcd5496..1cdf4a14816 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 4dc82bb34fa..3ce368fd329 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 0704ee1f98e..e3cd9e6c508 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 81cda17aef6..e2ea93b42cf 100644 --- a/src/osdc/ObjectCacher.h +++ b/src/osdc/ObjectCacher.h @@ -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; |