diff mbox series

lightnvm: pblk: modify a comment

Message ID 20181120071650.5379-1-suhua.tanke@gmail.com (mailing list archive)
State New, archived
Headers show
Series lightnvm: pblk: modify a comment | expand

Commit Message

Hua Su Nov. 20, 2018, 7:16 a.m. UTC
Does the code want to express that it should be like this?

Signed-off-by: Hua Su <suhua.tanke@gmail.com>
---
 drivers/lightnvm/pblk-rb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matias Bjorling Nov. 20, 2018, 7:18 a.m. UTC | #1
On 11/20/2018 08:16 AM, Hua Su wrote:
> Does the code want to express that it should be like this?
> 
> Signed-off-by: Hua Su <suhua.tanke@gmail.com>
> ---
>   drivers/lightnvm/pblk-rb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/lightnvm/pblk-rb.c b/drivers/lightnvm/pblk-rb.c
> index b1f4b51783f4..9f7fa0fe9c77 100644
> --- a/drivers/lightnvm/pblk-rb.c
> +++ b/drivers/lightnvm/pblk-rb.c
> @@ -147,7 +147,7 @@ int pblk_rb_init(struct pblk_rb *rb, unsigned int size, unsigned int threshold,
>   
>   	/*
>   	 * Initialize rate-limiter, which controls access to the write buffer
> -	 * but user and GC I/O
> +	 * by user and GC I/O
>   	 */
>   	pblk_rl_init(&pblk->rl, rb->nr_entries);
>   
> 

Thanks Hue. Applied for 4.21.
diff mbox series

Patch

diff --git a/drivers/lightnvm/pblk-rb.c b/drivers/lightnvm/pblk-rb.c
index b1f4b51783f4..9f7fa0fe9c77 100644
--- a/drivers/lightnvm/pblk-rb.c
+++ b/drivers/lightnvm/pblk-rb.c
@@ -147,7 +147,7 @@  int pblk_rb_init(struct pblk_rb *rb, unsigned int size, unsigned int threshold,
 
 	/*
 	 * Initialize rate-limiter, which controls access to the write buffer
-	 * but user and GC I/O
+	 * by user and GC I/O
 	 */
 	pblk_rl_init(&pblk->rl, rb->nr_entries);