diff mbox series

libceph: Fix comment typo

Message ID 20220724201131.3381-1-wangborong@cdjrlc.com
State New
Headers show
Series libceph: Fix comment typo | expand

Commit Message

Jason Wang July 24, 2022, 8:11 p.m. UTC
The double `without' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 net/ceph/pagelist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ilya Dryomov July 26, 2022, 7:57 a.m. UTC | #1
On Sun, Jul 24, 2022 at 2:20 PM Jason Wang <wangborong@cdjrlc.com> wrote:
>
> The double `without' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  net/ceph/pagelist.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/ceph/pagelist.c b/net/ceph/pagelist.c
> index 65e34f78b05d..74622b278d57 100644
> --- a/net/ceph/pagelist.c
> +++ b/net/ceph/pagelist.c
> @@ -96,7 +96,7 @@ int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
>  EXPORT_SYMBOL(ceph_pagelist_append);
>
>  /* Allocate enough pages for a pagelist to append the given amount
> - * of data without without allocating.
> + * of data without allocating.
>   * Returns: 0 on success, -ENOMEM on error.
>   */
>  int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)
> --
> 2.35.1
>

Applied.

Thanks,

                Ilya
diff mbox series

Patch

diff --git a/net/ceph/pagelist.c b/net/ceph/pagelist.c
index 65e34f78b05d..74622b278d57 100644
--- a/net/ceph/pagelist.c
+++ b/net/ceph/pagelist.c
@@ -96,7 +96,7 @@  int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len)
 EXPORT_SYMBOL(ceph_pagelist_append);
 
 /* Allocate enough pages for a pagelist to append the given amount
- * of data without without allocating.
+ * of data without allocating.
  * Returns: 0 on success, -ENOMEM on error.
  */
 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space)