Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ext4: delete duplicated words + other fixes
@ 2020-08-05 2:48 Randy Dunlap
2020-08-26 13:07 ` Jan Kara
2020-10-02 20:14 ` Theodore Y. Ts'o
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-08-05 2:48 UTC (permalink / raw)
To: linux-fsdevel; +Cc: Randy Dunlap, Theodore Ts'o, Andreas Dilger, linux-ext4
Delete repeated words in fs/ext4/.
{the, this, of, we, after}
Also change spelling of "xttr" in inline.c to "xattr" in 2 places.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
To: linux-fsdevel@vger.kernel.org
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: linux-ext4@vger.kernel.org
---
fs/ext4/extents.c | 2 +-
fs/ext4/indirect.c | 2 +-
fs/ext4/inline.c | 4 ++--
fs/ext4/inode.c | 2 +-
fs/ext4/mballoc.c | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
--- linux-next-20200804.orig/fs/ext4/extents.c
+++ linux-next-20200804/fs/ext4/extents.c
@@ -4029,7 +4029,7 @@ static int get_implied_cluster_alloc(str
* down_read(&EXT4_I(inode)->i_data_sem) if not allocating file system block
* (ie, create is zero). Otherwise down_write(&EXT4_I(inode)->i_data_sem)
*
- * return > 0, number of of blocks already mapped/allocated
+ * return > 0, number of blocks already mapped/allocated
* if create == 0 and these are pre-allocated blocks
* buffer head is unmapped
* otherwise blocks are mapped
--- linux-next-20200804.orig/fs/ext4/indirect.c
+++ linux-next-20200804/fs/ext4/indirect.c
@@ -1035,7 +1035,7 @@ static void ext4_free_branches(handle_t
brelse(bh);
/*
- * Everything below this this pointer has been
+ * Everything below this pointer has been
* released. Now let this top-of-subtree go.
*
* We want the freeing of this indirect block to be
--- linux-next-20200804.orig/fs/ext4/inline.c
+++ linux-next-20200804/fs/ext4/inline.c
@@ -276,7 +276,7 @@ static int ext4_create_inline_data(handl
len = 0;
}
- /* Insert the the xttr entry. */
+ /* Insert the xattr entry. */
i.value = value;
i.value_len = len;
@@ -354,7 +354,7 @@ static int ext4_update_inline_data(handl
if (error)
goto out;
- /* Update the xttr entry. */
+ /* Update the xattr entry. */
i.value = value;
i.value_len = len;
--- linux-next-20200804.orig/fs/ext4/inode.c
+++ linux-next-20200804/fs/ext4/inode.c
@@ -2786,7 +2786,7 @@ retry:
* ext4_journal_stop() can wait for transaction commit
* to finish which may depend on writeback of pages to
* complete or on page lock to be released. In that
- * case, we have to wait until after after we have
+ * case, we have to wait until after we have
* submitted all the IO, released page locks we hold,
* and dropped io_end reference (for extent conversion
* to be able to complete) before stopping the handle.
--- linux-next-20200804.orig/fs/ext4/mballoc.c
+++ linux-next-20200804/fs/ext4/mballoc.c
@@ -124,7 +124,7 @@
* /sys/fs/ext4/<partition>/mb_group_prealloc. The value is represented in
* terms of number of blocks. If we have mounted the file system with -O
* stripe=<value> option the group prealloc request is normalized to the
- * the smallest multiple of the stripe value (sbi->s_stripe) which is
+ * smallest multiple of the stripe value (sbi->s_stripe) which is
* greater than the default mb_group_prealloc.
*
* The regular allocator (using the buddy cache) supports a few tunables.
@@ -2026,7 +2026,7 @@ void ext4_mb_complex_scan_group(struct e
/*
* IF we have corrupt bitmap, we won't find any
* free blocks even though group info says we
- * we have free blocks
+ * have free blocks
*/
ext4_grp_locked_error(sb, e4b->bd_group, 0, 0,
"%d free clusters as per "
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ext4: delete duplicated words + other fixes
2020-08-05 2:48 [PATCH] ext4: delete duplicated words + other fixes Randy Dunlap
@ 2020-08-26 13:07 ` Jan Kara
2020-10-02 20:14 ` Theodore Y. Ts'o
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kara @ 2020-08-26 13:07 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-fsdevel, Theodore Ts'o, Andreas Dilger, linux-ext4
On Tue 04-08-20 19:48:50, Randy Dunlap wrote:
> Delete repeated words in fs/ext4/.
> {the, this, of, we, after}
>
> Also change spelling of "xttr" in inline.c to "xattr" in 2 places.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> To: linux-fsdevel@vger.kernel.org
> Cc: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Andreas Dilger <adilger.kernel@dilger.ca>
> Cc: linux-ext4@vger.kernel.org
The patch looks good to me. You can add:
Reviewed-by: Jan Kara <jack@suse.cz>
Ted, I think this patch fell through the cracks while you were busy...
Honza
> ---
> fs/ext4/extents.c | 2 +-
> fs/ext4/indirect.c | 2 +-
> fs/ext4/inline.c | 4 ++--
> fs/ext4/inode.c | 2 +-
> fs/ext4/mballoc.c | 4 ++--
> 5 files changed, 7 insertions(+), 7 deletions(-)
>
> --- linux-next-20200804.orig/fs/ext4/extents.c
> +++ linux-next-20200804/fs/ext4/extents.c
> @@ -4029,7 +4029,7 @@ static int get_implied_cluster_alloc(str
> * down_read(&EXT4_I(inode)->i_data_sem) if not allocating file system block
> * (ie, create is zero). Otherwise down_write(&EXT4_I(inode)->i_data_sem)
> *
> - * return > 0, number of of blocks already mapped/allocated
> + * return > 0, number of blocks already mapped/allocated
> * if create == 0 and these are pre-allocated blocks
> * buffer head is unmapped
> * otherwise blocks are mapped
> --- linux-next-20200804.orig/fs/ext4/indirect.c
> +++ linux-next-20200804/fs/ext4/indirect.c
> @@ -1035,7 +1035,7 @@ static void ext4_free_branches(handle_t
> brelse(bh);
>
> /*
> - * Everything below this this pointer has been
> + * Everything below this pointer has been
> * released. Now let this top-of-subtree go.
> *
> * We want the freeing of this indirect block to be
> --- linux-next-20200804.orig/fs/ext4/inline.c
> +++ linux-next-20200804/fs/ext4/inline.c
> @@ -276,7 +276,7 @@ static int ext4_create_inline_data(handl
> len = 0;
> }
>
> - /* Insert the the xttr entry. */
> + /* Insert the xattr entry. */
> i.value = value;
> i.value_len = len;
>
> @@ -354,7 +354,7 @@ static int ext4_update_inline_data(handl
> if (error)
> goto out;
>
> - /* Update the xttr entry. */
> + /* Update the xattr entry. */
> i.value = value;
> i.value_len = len;
>
> --- linux-next-20200804.orig/fs/ext4/inode.c
> +++ linux-next-20200804/fs/ext4/inode.c
> @@ -2786,7 +2786,7 @@ retry:
> * ext4_journal_stop() can wait for transaction commit
> * to finish which may depend on writeback of pages to
> * complete or on page lock to be released. In that
> - * case, we have to wait until after after we have
> + * case, we have to wait until after we have
> * submitted all the IO, released page locks we hold,
> * and dropped io_end reference (for extent conversion
> * to be able to complete) before stopping the handle.
> --- linux-next-20200804.orig/fs/ext4/mballoc.c
> +++ linux-next-20200804/fs/ext4/mballoc.c
> @@ -124,7 +124,7 @@
> * /sys/fs/ext4/<partition>/mb_group_prealloc. The value is represented in
> * terms of number of blocks. If we have mounted the file system with -O
> * stripe=<value> option the group prealloc request is normalized to the
> - * the smallest multiple of the stripe value (sbi->s_stripe) which is
> + * smallest multiple of the stripe value (sbi->s_stripe) which is
> * greater than the default mb_group_prealloc.
> *
> * The regular allocator (using the buddy cache) supports a few tunables.
> @@ -2026,7 +2026,7 @@ void ext4_mb_complex_scan_group(struct e
> /*
> * IF we have corrupt bitmap, we won't find any
> * free blocks even though group info says we
> - * we have free blocks
> + * have free blocks
> */
> ext4_grp_locked_error(sb, e4b->bd_group, 0, 0,
> "%d free clusters as per "
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ext4: delete duplicated words + other fixes
2020-08-05 2:48 [PATCH] ext4: delete duplicated words + other fixes Randy Dunlap
2020-08-26 13:07 ` Jan Kara
@ 2020-10-02 20:14 ` Theodore Y. Ts'o
1 sibling, 0 replies; 3+ messages in thread
From: Theodore Y. Ts'o @ 2020-10-02 20:14 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-fsdevel, Andreas Dilger, linux-ext4
On Tue, Aug 04, 2020 at 07:48:50PM -0700, Randy Dunlap wrote:
> Delete repeated words in fs/ext4/.
> {the, this, of, we, after}
>
> Also change spelling of "xttr" in inline.c to "xattr" in 2 places.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> To: linux-fsdevel@vger.kernel.org
> Cc: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Andreas Dilger <adilger.kernel@dilger.ca>
> Cc: linux-ext4@vger.kernel.org
Thanks, applied.
- Ted
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-02 20:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 2:48 [PATCH] ext4: delete duplicated words + other fixes Randy Dunlap
2020-08-26 13:07 ` Jan Kara
2020-10-02 20:14 ` Theodore Y. Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).