From: Kefu Chai Date: Tue, 18 Sep 2018 03:23:03 +0000 (+0800) Subject: rbd: fix typos X-Git-Tag: v14.0.1~213^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d67bc10be00a16c584dc73517d65c99191df178;p=ceph.git rbd: fix typos Signed-off-by: Kefu Chai --- diff --git a/src/cls/rbd/cls_rbd_client.h b/src/cls/rbd/cls_rbd_client.h index c7a8e22badd0..f09ada02e25e 100644 --- a/src/cls/rbd/cls_rbd_client.h +++ b/src/cls/rbd/cls_rbd_client.h @@ -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, diff --git a/src/librbd/image/RemoveRequest.h b/src/librbd/image/RemoveRequest.h index 0bb95aa09999..75288d9ae142 100644 --- a/src/librbd/image/RemoveRequest.h +++ b/src/librbd/image/RemoveRequest.h @@ -64,7 +64,7 @@ private: * /-------<-------\ | | | * | | | (acquired)| * | | v | | - * | | AQUIRE EXCLUSIVE LOCK | | + * | | ACQUIRE EXCLUSIVE LOCK | | * | | / | | | * | |------<-------/ | | | * | | v | | diff --git a/src/rbd_replay/actions.hpp b/src/rbd_replay/actions.hpp index b191448f6263..89e483158638 100644 --- a/src/rbd_replay/actions.hpp +++ b/src/rbd_replay/actions.hpp @@ -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;