btrfs: Correct some typos in comments
PATCH 1/1 btrfs: Correct some typos in comments
Fixed some confusing spelling errors, the details are as follows:
-in the code comments:
filesysmte -> filesystem trasnsaction -> transaction
Signed-off-by Shen Lichuan <[email protected]>
--- fs/btrfs/volumes.c | 2 +- fs/btrfs/zoned.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fs/btrfs/volumes.c +1 -1
@@ -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,
fs/btrfs/zoned.c +1 -1
@@ -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 ;
Signature · 1 line
2.17.1
Quoted 5 lines · Shen Lichuan
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