Skip to content

Commit b483bb7

Browse files
rddunlaptytso
authored andcommitted
ext4: delete duplicated words + other fixes
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> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20200805024850.12129-1-rdunlap@infradead.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 766ef1e commit b483bb7

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎fs/ext4/extents.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4023,7 +4023,7 @@ static int get_implied_cluster_alloc(struct super_block *sb,
40234023
* down_read(&EXT4_I(inode)->i_data_sem) if not allocating file system block
40244024
* (ie, create is zero). Otherwise down_write(&EXT4_I(inode)->i_data_sem)
40254025
*
4026-
* return > 0, number of of blocks already mapped/allocated
4026+
* return > 0, number of blocks already mapped/allocated
40274027
* if create == 0 and these are pre-allocated blocks
40284028
* buffer head is unmapped
40294029
* otherwise blocks are mapped

‎fs/ext4/indirect.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ static void ext4_free_branches(handle_t *handle, struct inode *inode,
10331033
brelse(bh);
10341034

10351035
/*
1036-
* Everything below this this pointer has been
1036+
* Everything below this pointer has been
10371037
* released. Now let this top-of-subtree go.
10381038
*
10391039
* We want the freeing of this indirect block to be

‎fs/ext4/inline.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static int ext4_update_inline_data(handle_t *handle, struct inode *inode,
354354
if (error)
355355
goto out;
356356

357-
/* Update the xttr entry. */
357+
/* Update the xattr entry. */
358358
i.value = value;
359359
i.value_len = len;
360360

‎fs/ext4/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ static int ext4_writepages(struct address_space *mapping,
27852785
* ext4_journal_stop() can wait for transaction commit
27862786
* to finish which may depend on writeback of pages to
27872787
* complete or on page lock to be released. In that
2788-
* case, we have to wait until after after we have
2788+
* case, we have to wait until after we have
27892789
* submitted all the IO, released page locks we hold,
27902790
* and dropped io_end reference (for extent conversion
27912791
* to be able to complete) before stopping the handle.

‎fs/ext4/mballoc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
* /sys/fs/ext4/<partition>/mb_group_prealloc. The value is represented in
125125
* terms of number of blocks. If we have mounted the file system with -O
126126
* stripe=<value> option the group prealloc request is normalized to the
127-
* the smallest multiple of the stripe value (sbi->s_stripe) which is
127+
* smallest multiple of the stripe value (sbi->s_stripe) which is
128128
* greater than the default mb_group_prealloc.
129129
*
130130
* The regular allocator (using the buddy cache) supports a few tunables.
@@ -2019,7 +2019,7 @@ void ext4_mb_complex_scan_group(struct ext4_allocation_context *ac,
20192019
/*
20202020
* IF we have corrupt bitmap, we won't find any
20212021
* free blocks even though group info says we
2022-
* we have free blocks
2022+
* have free blocks
20232023
*/
20242024
ext4_grp_locked_error(sb, e4b->bd_group, 0, 0,
20252025
"%d free clusters as per "

0 commit comments

Comments
 (0)