Re: [PATCH] xfs: xfs_btree_staging.h: delete duplicated words

From: Darrick J. Wong
Date: Sun Jul 19 2020 - 21:21:56 EST


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@xxxxxxxxxxxxx>
> Cc: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
> Cc: linux-xfs@xxxxxxxxxxxxxxx

Ha.
Ha.

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

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