From 1d67bc10be00a16c584dc73517d65c99191df178 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 18 Sep 2018 11:23:03 +0800 Subject: [PATCH] rbd: fix typos Signed-off-by: Kefu Chai --- src/cls/rbd/cls_rbd_client.h | 2 +- src/librbd/image/RemoveRequest.h | 2 +- src/rbd_replay/actions.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cls/rbd/cls_rbd_client.h b/src/cls/rbd/cls_rbd_client.h index c7a8e22badd02..f09ada02e25ee 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 0bb95aa09999c..75288d9ae1423 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 b191448f62633..89e4831586383 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; -- 2.39.5