[PATCH 1/2] btrfs: fix typos in comments

From: Hemanth Selam

Date: Fri Sep 04 2026 - 08:02:46 EST


Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
---
fs/btrfs/block-group.h | 2 +-
fs/btrfs/send.c | 2 +-
include/uapi/linux/btrfs_tree.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h
index 69d56864d4ba..b349f94cf929 100644
--- a/fs/btrfs/block-group.h
+++ b/fs/btrfs/block-group.h
@@ -135,7 +135,7 @@ struct btrfs_block_group {
u64 global_root_id;
u64 remap_bytes;
u32 identity_remap_count;
- /* The last commited identity_remap_count value of this block group. */
+ /* The last committed identity_remap_count value of this block group. */
u32 last_identity_remap_count;
/*
* The last committed used bytes of this block group, if the above @used
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index dca3570168c7..dd90da2859b8 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -7016,7 +7016,7 @@ static int changed_extent(struct send_ctx *sctx,
* get modified or replaced with a new one). Note that deduplication
* updates the inode item, but it only changes the iversion (sequence
* field in the inode item) of the inode, so if a file is deduplicated
- * the same amount of times in both the parent and send snapshots, its
+ * the same number of times in both the parent and send snapshots, its
* iversion becomes the same in both snapshots, whence the inode item is
* the same on both snapshots.
*/
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h
index cc3b9f7dccaf..127aabd88639 100644
--- a/include/uapi/linux/btrfs_tree.h
+++ b/include/uapi/linux/btrfs_tree.h
@@ -243,7 +243,7 @@
#define BTRFS_EXTENT_DATA_REF_KEY 178

/*
- * Obsolete key. Defintion removed in 6.6, value may be reused in the future.
+ * Obsolete key. Definition removed in 6.6, value may be reused in the future.
*
* #define BTRFS_EXTENT_REF_V0_KEY 180
*/
--
2.48.1