Skip to content

Commit

Permalink
libceph: Fix spelling mistakes
Browse files Browse the repository at this point in the history
Fix some spelling mistakes in comments:
enconding  ==> encoding
ambigous  ==> ambiguous
orignal  ==> original
encyption  ==> encryption

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Zheng Yongjun authored and David S. Miller committed Jun 3, 2021
1 parent d467d0b commit dd0d91b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion net/ceph/auth_x_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct ceph_x_authorize_reply {


/*
* encyption bundle
* encryption bundle
*/
#define CEPHX_ENC_MAGIC 0xff009cad8826aa55ull

Expand Down
2 changes: 1 addition & 1 deletion net/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con,
return get_generic_reply(con, hdr, skip);

/*
* Older OSDs don't set reply tid even if the orignal
* Older OSDs don't set reply tid even if the original
* request had a non-zero tid. Work around this weirdness
* by allocating a new message.
*/
Expand Down
4 changes: 2 additions & 2 deletions net/ceph/osdmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ static int get_osdmap_client_data_v(void **p, void *end,
return -EINVAL;
}

/* old osdmap enconding */
/* old osdmap encoding */
struct_v = 0;
}

Expand Down Expand Up @@ -3010,7 +3010,7 @@ static bool is_valid_crush_name(const char *name)
* parent, returns 0.
*
* Does a linear search, as there are no parent pointers of any
* kind. Note that the result is ambigous for items that occur
* kind. Note that the result is ambiguous for items that occur
* multiple times in the map.
*/
static int get_immediate_parent(struct crush_map *c, int id,
Expand Down

0 comments on commit dd0d91b

Please sign in to comment.