linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lightnvm: pblk: modify a comment
@ 2018-11-20  7:16 Hua Su
  2018-11-20  7:18 ` Matias Bjørling
  0 siblings, 1 reply; 2+ messages in thread
From: Hua Su @ 2018-11-20  7:16 UTC (permalink / raw)
  To: mb; +Cc: javier, axboe, linux-block, linux-kernel, suhua.tanke

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);
 
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] lightnvm: pblk: modify a comment
  2018-11-20  7:16 [PATCH] lightnvm: pblk: modify a comment Hua Su
@ 2018-11-20  7:18 ` Matias Bjørling
  0 siblings, 0 replies; 2+ messages in thread
From: Matias Bjørling @ 2018-11-20  7:18 UTC (permalink / raw)
  To: suhua.tanke; +Cc: javier, axboe, linux-block, linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-20  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20  7:16 [PATCH] lightnvm: pblk: modify a comment Hua Su
2018-11-20  7:18 ` Matias Bjørling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).