]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/rgw/rgw_tar.h: fix typos 49373/head
authorwangyunqing <wangyunqing@inspur.com>
Sat, 10 Dec 2022 07:08:08 +0000 (15:08 +0800)
committerwangyunqing <wangyunqing@inspur.com>
Sat, 10 Dec 2022 07:08:08 +0000 (15:08 +0800)
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
src/rgw/rgw_tar.h

index 9cc0e9c05b5d1fcc455bce4cbdca6e4b5ec1bc97..f51a7fc66407b8a0d70e3633099aa24590ac18cb 100644 (file)
@@ -69,7 +69,7 @@ enum class FileType : char {
 
 class HeaderView {
 protected:
-  /* Everythng is char here (ASCII encoding), so we don't need to worry about
+  /* Everything is char here (ASCII encoding), so we don't need to worry about
    * the struct padding. */
   const struct header_t {
     char filename[100];
@@ -86,7 +86,7 @@ protected:
   static_assert(sizeof(*header) == BLOCK_SIZE,
                 "The TAR header must be exactly BLOCK_SIZE length");
 
-  /* The label is far more imporant from what the code really does. */
+  /* The label is far more important from what the code really does. */
   static size_t pos2len(const size_t pos) {
     return pos + 1;
   }