diff mbox series

xfs: fix a comment in xfs_log_reserve

Message ID 1533285093-193140-1-git-send-email-huang.chong@zte.com.cn (mailing list archive)
State Accepted
Headers show
Series xfs: fix a comment in xfs_log_reserve | expand

Commit Message

Huang Chong Aug. 3, 2018, 8:31 a.m. UTC
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(-)

Comments

Darrick J. Wong Aug. 3, 2018, 3:18 p.m. UTC | #1
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
--
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
diff mbox series

Patch

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