fs/btrfs/volumes.c | 2 +- fs/btrfs/zoned.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Fixed some confusing spelling errors, the details are as follows:
-in the code comments:
filesysmte -> filesystem
trasnsaction -> transaction
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
---
fs/btrfs/volumes.c | 2 +-
fs/btrfs/zoned.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 995b0647f538..555a817bf065 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -5309,7 +5309,7 @@ static int decide_stripe_size_zoned(struct alloc_chunk_ctl *ctl,
ctl->num_stripes = ctl->ndevs * ctl->dev_stripes;
data_stripes = (ctl->num_stripes - ctl->nparity) / ctl->ncopies;
- /* stripe_size is fixed in zoned filesysmte. Reduce ndevs instead. */
+ /* stripe_size is fixed in zoned filesystem. Reduce ndevs instead. */
if (ctl->stripe_size * data_stripes > ctl->max_chunk_size) {
ctl->ndevs = div_u64(div_u64(ctl->max_chunk_size * ctl->ncopies,
ctl->stripe_size) + ctl->nparity,
diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
index 7fa2920632ba..00a016691d8e 100644
--- a/fs/btrfs/zoned.c
+++ b/fs/btrfs/zoned.c
@@ -1973,7 +1973,7 @@ int btrfs_check_meta_write_pointer(struct btrfs_fs_info *fs_info,
if (block_group->meta_write_pointer > eb->start)
return -EBUSY;
- /* If for_sync, this hole will be filled with trasnsaction commit. */
+ /* If for_sync, this hole will be filled with transaction commit. */
if (wbc->sync_mode == WB_SYNC_ALL && !wbc->for_sync)
return -EAGAIN;
return -EBUSY;
--
2.17.1
On Mon, Sep 23, 2024 at 02:58:33PM +0800, Shen Lichuan wrote: > Fixed some confusing spelling errors, the details are as follows: > > -in the code comments: > filesysmte -> filesystem > trasnsaction -> transaction Strange that codespell does not find the typos. We also want to fix typos in bigger batches so please check for more, my quick search gives block-group.c:2800: uncompressible ==> incompressible extent_io.c:3188: utlizing ==> utilizing extent_map.c:1323: ealier ==> earlier extent_map.c:1325: possiblity ==> possibility fiemap.c:189: emmitted ==> emitted fiemap.c:197: emmitted ==> emitted fiemap.c:203: emmitted ==> emitted transaction.h:36: trasaction ==> transaction
© 2016 - 2024 Red Hat, Inc.