2020-07-20 00:18:26

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] xfs: xfs_btree_staging.h: delete duplicated words

Drop the repeated words "with" and "be" in comments.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: "Darrick J. Wong" <[email protected]>
Cc: [email protected]
---
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.
*/


2020-07-20 01:22:51

by Darrick J. Wong

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

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 <[email protected]>
> Cc: "Darrick J. Wong" <[email protected]>
> Cc: [email protected]

Ha.
Ha.

Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>

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