* [PATCH 00/10] BTRFS: Mundane typo fixes
@ 2021-03-28 4:18 Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 01/10] extent-map-tests.c: A typo fix Bhaskar Chowdhury
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
This patch series fixes trivial typos as they appear in the files.
Bhaskar Chowdhury (10):
extent-map-tests.c: A typo fix
dev-replace.c: A typo fix
ioctl.c: A typo fix
zoned.c: A typo fix
inode.c: Couple of typo fixes
scrub.c: Fix a typo
locking.c: Fix same typo in couple of places
volumes.c: Fix a typo
extent-tree.c: Fix a typo
disk-io.c: Fix a typo
fs/btrfs/dev-replace.c | 2 +-
fs/btrfs/disk-io.c | 2 +-
fs/btrfs/extent-tree.c | 2 +-
fs/btrfs/inode.c | 4 ++--
fs/btrfs/ioctl.c | 2 +-
fs/btrfs/locking.c | 4 ++--
fs/btrfs/scrub.c | 2 +-
fs/btrfs/tests/extent-map-tests.c | 2 +-
fs/btrfs/volumes.c | 2 +-
fs/btrfs/zoned.c | 2 +-
10 files changed, 12 insertions(+), 12 deletions(-)
--
2.26.2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 01/10] extent-map-tests.c: A typo fix
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 02/10] dev-replace.c: " Bhaskar Chowdhury
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/interesects/intersects/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/tests/extent-map-tests.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/tests/extent-map-tests.c b/fs/btrfs/tests/extent-map-tests.c
index c0aefe6dee0b..319fed82d741 100644
--- a/fs/btrfs/tests/extent-map-tests.c
+++ b/fs/btrfs/tests/extent-map-tests.c
@@ -557,7 +557,7 @@ int btrfs_test_extent_map(void)
{
/*
* Test a chunk with 2 data stripes one of which
- * interesects the physical address of the super block
+ * intersects the physical address of the super block
* is correctly recognised.
*/
.raid_type = BTRFS_BLOCK_GROUP_RAID1,
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 02/10] dev-replace.c: A typo fix
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 01/10] extent-map-tests.c: A typo fix Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 03/10] ioctl.c: " Bhaskar Chowdhury
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/contans/contains/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/dev-replace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c
index d05f73530af7..d029be40ea6f 100644
--- a/fs/btrfs/dev-replace.c
+++ b/fs/btrfs/dev-replace.c
@@ -37,7 +37,7 @@
* - Write duplication
*
* All new writes will be written to both target and source devices, so even
- * if replace gets canceled, sources device still contans up-to-date data.
+ * if replace gets canceled, sources device still contains up-to-date data.
*
* Location: handle_ops_on_dev_replace() from __btrfs_map_block()
* Start: btrfs_dev_replace_start()
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 03/10] ioctl.c: A typo fix
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 01/10] extent-map-tests.c: A typo fix Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 02/10] dev-replace.c: " Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 04/10] zoned.c: " Bhaskar Chowdhury
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/termined/terminated/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index e8d53fea4c61..98ed14a0682e 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -3022,7 +3022,7 @@ static noinline int btrfs_ioctl_snap_destroy(struct file *file,
err = PTR_ERR(subvol_name_ptr);
goto free_parent;
}
- /* subvol_name_ptr is already NULL termined */
+ /* subvol_name_ptr is already NULL terminated */
subvol_name = (char *)kbasename(subvol_name_ptr);
}
} else {
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 04/10] zoned.c: A typo fix
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (2 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 03/10] ioctl.c: " Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 05/10] inode.c: Couple of typo fixes Bhaskar Chowdhury
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/beggining/beginning/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/zoned.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
index 1f972b75a9ab..d6cd0d4eb1a9 100644
--- a/fs/btrfs/zoned.c
+++ b/fs/btrfs/zoned.c
@@ -383,7 +383,7 @@ int btrfs_get_dev_zone_info(struct btrfs_device *device)
}
/*
- * If zones[0] is conventional, always use the beggining of the
+ * If zones[0] is conventional, always use the beginning of the
* zone to record superblock. No need to validate in that case.
*/
if (zone_info->sb_zones[BTRFS_NR_SB_LOG_ZONES * i].type ==
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 05/10] inode.c: Couple of typo fixes
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (3 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 04/10] zoned.c: " Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 06/10] scrub.c: Fix a typo Bhaskar Chowdhury
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/contaning/containing/
s/clearning/clearing/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index a520775949a0..dd7cc65db7bd 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2784,8 +2784,8 @@ static int insert_reserved_file_extent(struct btrfs_trans_handle *trans,
/*
* If we dropped an inline extent here, we know the range where it is
* was not marked with the EXTENT_DELALLOC_NEW bit, so we update the
- * number of bytes only for that range contaning the inline extent.
- * The remaining of the range will be processed when clearning the
+ * number of bytes only for that range containing the inline extent.
+ * The remaining of the range will be processed when clearing the
* EXTENT_DELALLOC_BIT bit through the ordered extent completion.
*/
if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) {
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 06/10] scrub.c: Fix a typo
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (4 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 05/10] inode.c: Couple of typo fixes Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 07/10] locking.c: Fix same typo in couple of places Bhaskar Chowdhury
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/reponsible/responsible/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/scrub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index 3d9088eab2fc..14de898967bf 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -2426,7 +2426,7 @@ static void drop_csum_range(struct scrub_ctx *sctx, struct btrfs_ordered_sum *su
* the csum into @csum.
*
* The search source is sctx->csum_list, which is a pre-populated list
- * storing bytenr ordered csum ranges. We're reponsible to cleanup any range
+ * storing bytenr ordered csum ranges. We're responsible to cleanup any range
* that is before @logical.
*
* Return 0 if there is no csum for the range.
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 07/10] locking.c: Fix same typo in couple of places
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (5 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 06/10] scrub.c: Fix a typo Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 08/10] volumes.c: Fix a typo Bhaskar Chowdhury
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/Retrun/Return/ ..... two different places.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/locking.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c
index 5fafc5e89bb7..313d9d685adb 100644
--- a/fs/btrfs/locking.c
+++ b/fs/btrfs/locking.c
@@ -57,7 +57,7 @@ void btrfs_tree_read_lock(struct extent_buffer *eb)
/*
* Try-lock for read.
*
- * Retrun 1 if the rwlock has been taken, 0 otherwise
+ * Return 1 if the rwlock has been taken, 0 otherwise
*/
int btrfs_try_tree_read_lock(struct extent_buffer *eb)
{
@@ -72,7 +72,7 @@ int btrfs_try_tree_read_lock(struct extent_buffer *eb)
/*
* Try-lock for write.
*
- * Retrun 1 if the rwlock has been taken, 0 otherwise
+ * Return 1 if the rwlock has been taken, 0 otherwise
*/
int btrfs_try_tree_write_lock(struct extent_buffer *eb)
{
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 08/10] volumes.c: Fix a typo
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (6 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 07/10] locking.c: Fix same typo in couple of places Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 09/10] extent-tree.c: " Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 10/10] disk-io.c: " Bhaskar Chowdhury
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/bondary/boundary/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/volumes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1c6810bbaf8b..ac85558b91c2 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -7797,7 +7797,7 @@ static int verify_one_dev_extent(struct btrfs_fs_info *fs_info,
ret = -EUCLEAN;
}
- /* Make sure no dev extent is beyond device bondary */
+ /* Make sure no dev extent is beyond device boundary */
dev = btrfs_find_device(fs_info->fs_devices, devid, NULL, NULL);
if (!dev) {
btrfs_err(fs_info, "failed to find devid %llu", devid);
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 09/10] extent-tree.c: Fix a typo
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (7 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 08/10] volumes.c: Fix a typo Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 10/10] disk-io.c: " Bhaskar Chowdhury
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/Otheriwse/Otherwise/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/extent-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 36a3c973fda1..d0532754af15 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1421,7 +1421,7 @@ int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans,
* bytenr of the parent block. Since new extents are always
* created with indirect references, this will only be the case
* when relocating a shared extent. In that case, root_objectid
- * will be BTRFS_TREE_RELOC_OBJECTID. Otheriwse, parent must
+ * will be BTRFS_TREE_RELOC_OBJECTID. Otherwise, parent must
* be 0
*
* @root_objectid: The id of the root where this modification has originated,
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 10/10] disk-io.c: Fix a typo
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
` (8 preceding siblings ...)
2021-03-28 4:18 ` [PATCH 09/10] extent-tree.c: " Bhaskar Chowdhury
@ 2021-03-28 4:18 ` Bhaskar Chowdhury
9 siblings, 0 replies; 11+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-28 4:18 UTC (permalink / raw)
To: clm, josef, dsterba, linux-btrfs; +Cc: Bhaskar Chowdhury, rdunlap, linux-kernel
s/traget/target/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
fs/btrfs/disk-io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 289f1f09481d..230918d34f87 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3367,7 +3367,7 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device
* At this point we know all the devices that make this filesystem,
* including the seed devices but we don't know yet if the replace
* target is required. So free devices that are not part of this
- * filesystem but skip the replace traget device which is checked
+ * filesystem but skip the replace target device which is checked
* below in btrfs_init_dev_replace().
*/
btrfs_free_extra_devids(fs_devices);
--
2.26.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-03-28 4:22 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 4:18 [PATCH 00/10] BTRFS: Mundane typo fixes Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 01/10] extent-map-tests.c: A typo fix Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 02/10] dev-replace.c: " Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 03/10] ioctl.c: " Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 04/10] zoned.c: " Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 05/10] inode.c: Couple of typo fixes Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 06/10] scrub.c: Fix a typo Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 07/10] locking.c: Fix same typo in couple of places Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 08/10] volumes.c: Fix a typo Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 09/10] extent-tree.c: " Bhaskar Chowdhury
2021-03-28 4:18 ` [PATCH 10/10] disk-io.c: " Bhaskar Chowdhury
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.