]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix typos
authorKefu Chai <kchai@redhat.com>
Tue, 18 Sep 2018 03:31:34 +0000 (11:31 +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/rgw/rgw_auth_s3.h
src/rgw/rgw_cr_rados.h
src/rgw/rgw_rados.h
src/rgw/rgw_realm_reloader.h

index 0a3341385d8a249cfcb184a80c6eae86ab0e85b8..cfaeb25a256c97f775c0467f041879e9ae151950 100644 (file)
@@ -445,7 +445,7 @@ static inline std::string get_v4_canonical_uri(const req_info& info) {
 
 static inline const char* get_v4_exp_payload_hash(const req_info& info)
 {
-  /* In AWSv4 the hash of real, transfered payload IS NOT necessary to form
+  /* In AWSv4 the hash of real, transferred payload IS NOT necessary to form
    * a Canonical Request, and thus verify a Signature. x-amz-content-sha256
    * header lets get the information very early -- before seeing first byte
    * of HTTP body. As a consequence, we can decouple Signature verification
index 8be607c03106bd33cde6aa1915d65b900095eed5..ba660ec466fe0e74f8af04d5419465f5a3a2ec1e 100644 (file)
@@ -243,7 +243,7 @@ int RGWSimpleRadosReadCR<T>::request_complete()
       if (iter.end()) {
         // allow successful reads with empty buffers. ReadSyncStatus coroutines
         // depend on this to be able to read without locking, because the
-        // cls lock from InitSyncStatus will create an empty object if it didnt
+        // cls lock from InitSyncStatus will create an empty object if it didn't
         // exist
         *result = T();
       } else {
index 28618413ff7017451a530f914092d33165e233ae..32d913dbcfb86ef224b785d5d6ae59b01a5d1468 100644 (file)
@@ -1674,7 +1674,7 @@ struct RGWZoneGroupMap {
   RGWQuotaInfo bucket_quota;
   RGWQuotaInfo user_quota;
 
-  /* constract the map */
+  /* construct the map */
   int read(CephContext *cct, RGWRados *store);
 
   void encode(bufferlist& bl) const;
@@ -3602,7 +3602,7 @@ public:
     url_encode(string(buf) + get_zone_params().get_name(), trans_id_suffix);
   }
 
-  /* In order to preserve compability with Swift API, transaction ID
+  /* In order to preserve compatibility with Swift API, transaction ID
    * should contain at least 32 characters satisfying following spec:
    *  - first 21 chars must be in range [0-9a-f]. Swift uses this
    *    space for storing fragment of UUID obtained through a call to
index aea21d5833820953009f648811fe5b731bc7fc4b..1277429e5b345cda7d923497bdd77e52f17c6c99 100644 (file)
@@ -20,7 +20,7 @@ class RGWRealmReloader : public RGWRealmWatcher::Watcher {
    * is required to ensure that they stop issuing requests on the old
    * RGWRados instance, and restart with the updated configuration.
    *
-   * This abstraction avoids a depency on class RGWFrontend.
+   * This abstraction avoids a dependency on class RGWFrontend.
    */
   class Pauser {
    public: