[PATCH] quota: cleanup double word in comment

trix@redhat.com posted 1 patch 4 years, 5 months ago
include/linux/quota.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] quota: cleanup double word in comment
Posted by trix@redhat.com 4 years, 5 months ago
From: Tom Rix <trix@redhat.com>

Remove the second 'handle'.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 include/linux/quota.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/quota.h b/include/linux/quota.h
index 18ebd39c94871..fd692b4a41d5f 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -91,7 +91,7 @@ extern bool qid_valid(struct kqid qid);
  *
  *	When there is no mapping defined for the user-namespace, type,
  *	qid tuple an invalid kqid is returned.  Callers are expected to
- *	test for and handle handle invalid kqids being returned.
+ *	test for and handle invalid kqids being returned.
  *	Invalid kqids may be tested for using qid_valid().
  */
 static inline struct kqid make_kqid(struct user_namespace *from,
-- 
2.26.3

Re: [PATCH] quota: cleanup double word in comment
Posted by Jan Kara 4 years, 5 months ago
On Sun 16-01-22 04:59:36, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> Remove the second 'handle'.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>

Thanks. Applied to my tree.

								Honza

> ---
>  include/linux/quota.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/quota.h b/include/linux/quota.h
> index 18ebd39c94871..fd692b4a41d5f 100644
> --- a/include/linux/quota.h
> +++ b/include/linux/quota.h
> @@ -91,7 +91,7 @@ extern bool qid_valid(struct kqid qid);
>   *
>   *	When there is no mapping defined for the user-namespace, type,
>   *	qid tuple an invalid kqid is returned.  Callers are expected to
> - *	test for and handle handle invalid kqids being returned.
> + *	test for and handle invalid kqids being returned.
>   *	Invalid kqids may be tested for using qid_valid().
>   */
>  static inline struct kqid make_kqid(struct user_namespace *from,
> -- 
> 2.26.3
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR