All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: xfs_btree_staging.h: delete duplicated words
@ 2020-07-20  0:15 Randy Dunlap
  2020-07-20  1:21 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-07-20  0:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Darrick J. Wong, linux-xfs

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

--- 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.
 	 */

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

* Re: [PATCH] xfs: xfs_btree_staging.h: delete duplicated words
  2020-07-20  0:15 [PATCH] xfs: xfs_btree_staging.h: delete duplicated words Randy Dunlap
@ 2020-07-20  1:21 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2020-07-20  1:21 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, linux-xfs

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.
>  	 */

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

end of thread, other threads:[~2020-07-20  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20  0:15 [PATCH] xfs: xfs_btree_staging.h: delete duplicated words Randy Dunlap
2020-07-20  1:21 ` Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.