linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs: fix a comment in xfs_log_reserve
@ 2018-08-03  8:31 Huang Chong
  2018-08-03 15:18 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Chong @ 2018-08-03  8:31 UTC (permalink / raw)
  To: darrick.wong, linux-xfs
  Cc: linux-kernel, jiang.biao2, huang.chong, zhong.weidong

From: "Huang Chong" <huang.chong@zte.com.cn>

Fix the comment in xfs_log_reserve to avoid confusing.

Signed-of-by: Huang Chong <huang.chong@zte.com.cn>
---
 fs/xfs/xfs_log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 5e56f3b..891ffb1 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -410,7 +410,7 @@
 }
 
 /*
- * Reserve log space and return a ticket corresponding the reservation.
+ * Reserve log space and return a ticket corresponding to the reservation.
  *
  * Each reservation is going to reserve extra space for a log record header.
  * When writes happen to the on-disk log, we don't subtract the length of the
-- 
1.8.3.1


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

* Re: [PATCH] xfs: fix a comment in xfs_log_reserve
  2018-08-03  8:31 [PATCH] xfs: fix a comment in xfs_log_reserve Huang Chong
@ 2018-08-03 15:18 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2018-08-03 15:18 UTC (permalink / raw)
  To: Huang Chong; +Cc: linux-xfs, linux-kernel, jiang.biao2, zhong.weidong

On Fri, Aug 03, 2018 at 04:31:33PM +0800, Huang Chong wrote:
> From: "Huang Chong" <huang.chong@zte.com.cn>
> 
> Fix the comment in xfs_log_reserve to avoid confusing.
> 
> Signed-of-by: Huang Chong <huang.chong@zte.com.cn>

Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
>  fs/xfs/xfs_log.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
> index 5e56f3b..891ffb1 100644
> --- a/fs/xfs/xfs_log.c
> +++ b/fs/xfs/xfs_log.c
> @@ -410,7 +410,7 @@
>  }
>  
>  /*
> - * Reserve log space and return a ticket corresponding the reservation.
> + * Reserve log space and return a ticket corresponding to the reservation.
>   *
>   * Each reservation is going to reserve extra space for a log record header.
>   * When writes happen to the on-disk log, we don't subtract the length of the
> -- 
> 1.8.3.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2018-08-03 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03  8:31 [PATCH] xfs: fix a comment in xfs_log_reserve Huang Chong
2018-08-03 15:18 ` Darrick J. Wong

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).