diff mbox series

xfs: xfs_btree_staging.h: delete duplicated words

Message ID 20200720001509.656-1-rdunlap@infradead.org (mailing list archive)
State Accepted
Headers show
Series xfs: xfs_btree_staging.h: delete duplicated words | expand

Commit Message

Randy Dunlap July 20, 2020, 12:15 a.m. UTC
Drop the repeated words "with" and "be" in comments.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: linux-xfs@vger.kernel.org
---
 fs/xfs/libxfs/xfs_btree_staging.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Darrick J. Wong July 20, 2020, 1:21 a.m. UTC | #1
On Sun, Jul 19, 2020 at 05:15:09PM -0700, Randy Dunlap wrote:
> Drop the repeated words "with" and "be" in comments.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
> Cc: linux-xfs@vger.kernel.org

Ha.
Ha.

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

--D
--D

> ---
>  fs/xfs/libxfs/xfs_btree_staging.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> --- linux-next-20200717.orig/fs/xfs/libxfs/xfs_btree_staging.h
> +++ linux-next-20200717/fs/xfs/libxfs/xfs_btree_staging.h
> @@ -18,7 +18,7 @@ struct xbtree_afakeroot {
>  	unsigned int		af_blocks;
>  };
>  
> -/* Cursor interactions with with fake roots for AG-rooted btrees. */
> +/* Cursor interactions with fake roots for AG-rooted btrees. */
>  void xfs_btree_stage_afakeroot(struct xfs_btree_cur *cur,
>  		struct xbtree_afakeroot *afake);
>  void xfs_btree_commit_afakeroot(struct xfs_btree_cur *cur, struct xfs_trans *tp,
> @@ -45,7 +45,7 @@ struct xbtree_ifakeroot {
>  	unsigned int		if_extents;
>  };
>  
> -/* Cursor interactions with with fake roots for inode-rooted btrees. */
> +/* Cursor interactions with fake roots for inode-rooted btrees. */
>  void xfs_btree_stage_ifakeroot(struct xfs_btree_cur *cur,
>  		struct xbtree_ifakeroot *ifake,
>  		struct xfs_btree_ops **new_ops);
> @@ -90,7 +90,7 @@ struct xfs_btree_bload {
>  
>  	/*
>  	 * Number of free records to leave in each leaf block.  If the caller
> -	 * sets this to -1, the slack value will be calculated to be be halfway
> +	 * sets this to -1, the slack value will be calculated to be halfway
>  	 * between maxrecs and minrecs.  This typically leaves the block 75%
>  	 * full.  Note that slack values are not enforced on inode root blocks.
>  	 */
diff mbox series

Patch

--- linux-next-20200717.orig/fs/xfs/libxfs/xfs_btree_staging.h
+++ linux-next-20200717/fs/xfs/libxfs/xfs_btree_staging.h
@@ -18,7 +18,7 @@  struct xbtree_afakeroot {
 	unsigned int		af_blocks;
 };
 
-/* Cursor interactions with with fake roots for AG-rooted btrees. */
+/* Cursor interactions with fake roots for AG-rooted btrees. */
 void xfs_btree_stage_afakeroot(struct xfs_btree_cur *cur,
 		struct xbtree_afakeroot *afake);
 void xfs_btree_commit_afakeroot(struct xfs_btree_cur *cur, struct xfs_trans *tp,
@@ -45,7 +45,7 @@  struct xbtree_ifakeroot {
 	unsigned int		if_extents;
 };
 
-/* Cursor interactions with with fake roots for inode-rooted btrees. */
+/* Cursor interactions with fake roots for inode-rooted btrees. */
 void xfs_btree_stage_ifakeroot(struct xfs_btree_cur *cur,
 		struct xbtree_ifakeroot *ifake,
 		struct xfs_btree_ops **new_ops);
@@ -90,7 +90,7 @@  struct xfs_btree_bload {
 
 	/*
 	 * Number of free records to leave in each leaf block.  If the caller
-	 * sets this to -1, the slack value will be calculated to be be halfway
+	 * sets this to -1, the slack value will be calculated to be halfway
 	 * between maxrecs and minrecs.  This typically leaves the block 75%
 	 * full.  Note that slack values are not enforced on inode root blocks.
 	 */