]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fix typos
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:23:03 +0000 (11:23 +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/cls/rbd/cls_rbd_client.h
src/librbd/image/RemoveRequest.h
src/rbd_replay/actions.hpp

index c7a8e22badd028365ee3e1796dff6bc7db1ab975..f09ada02e25ee14d578248e35f55ee4222f78e14 100644 (file)
@@ -365,7 +365,7 @@ void object_map_snap_remove(librados::ObjectWriteOperation *rados_op,
                             const ceph::BitVector<2> &object_map);
 
 // class operations on the old format, kept for
-// backwards compatability
+// backwards compatibility
 void old_snapshot_add(librados::ObjectWriteOperation *rados_op,
                       snapid_t snap_id, const std::string &snap_name);
 void old_snapshot_remove(librados::ObjectWriteOperation *rados_op,
index 0bb95aa09999c12a71c77fa996e335925d716a73..75288d9ae1423c27eb490e2456ee2faca3eccfd8 100644 (file)
@@ -64,7 +64,7 @@ private:
    * /-------<-------\                   |                |     |
    * |               |                   |            (acquired)|
    * |               |                   v                |     |
-   * |               |            AQUIRE EXCLUSIVE LOCK   |     |
+   * |               |           ACQUIRE EXCLUSIVE LOCK   |     |
    * |               |               /   |                |     |
    * |               |------<-------/    |                |     |
    * |               |                   v                |     |
index b191448f62633efb45ce4320b0eb6c9599f81c1d..89e48315863838540ac29cda9043c369defdf600 100644 (file)
@@ -80,7 +80,7 @@ public:
   /**
      Maps an image name from the name in the original trace to the name that should be used when replaying.
      @param image_name name of the image in the original trace
-     @param snap_name name of the snap in the orginal trace
+     @param snap_name name of the snap in the original trace
      @return image name to replay against
    */
   virtual rbd_loc map_image_name(std::string image_name, std::string snap_name) const = 0;