aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zoned.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2021-05-21 17:42:23 +0200
committerDavid Sterba <dsterba@suse.com>2021-06-22 14:11:57 +0200
commit1a9fd4172d5c8ba64735b3aef7eed643d398ce05 (patch)
tree80b8217f78e62a9ff867022fe6cca182129c3772 /fs/btrfs/zoned.c
parentbtrfs: remove a stale comment for btrfs_decompress_bio() (diff)
downloadlinux-dev-1a9fd4172d5c8ba64735b3aef7eed643d398ce05.tar.xz
linux-dev-1a9fd4172d5c8ba64735b3aef7eed643d398ce05.zip
btrfs: fix typos in comments
Fix typos that have snuck in since the last round. Found by codespell. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/zoned.c')
-rw-r--r--fs/btrfs/zoned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/zoned.c b/fs/btrfs/zoned.c
index 549912120cfe..297c0b1c0634 100644
--- a/fs/btrfs/zoned.c
+++ b/fs/btrfs/zoned.c
@@ -81,7 +81,7 @@ static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones,
* *: Special case, no superblock is written
* 0: Use write pointer of zones[0]
* 1: Use write pointer of zones[1]
- * C: Compare super blcoks from zones[0] and zones[1], use the latest
+ * C: Compare super blocks from zones[0] and zones[1], use the latest
* one determined by generation
* x: Invalid state
*/
@@ -433,7 +433,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 ==