2022-06-09 14:51:47

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] btrfs: Fix typo in comment

Delete the redundant word 'we'.

Signed-off-by: Xiang wangx <[email protected]>
---
fs/btrfs/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index da41a0c371bc..e583558cbbfd 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -2857,7 +2857,7 @@ int btrfs_replace_file_extents(struct btrfs_inode *inode,
}

/*
- * If we were cloning, force the next fsync to be a full one since we
+ * If we were cloning, force the next fsync to be a full one since
* we replaced (or just dropped in the case of cloning holes when
* NO_HOLES is enabled) file extent items and did not setup new extent
* maps for the replacement extents (or holes).
--
2.36.1


2022-06-15 12:50:53

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] btrfs: Fix typo in comment

On Thu, Jun 09, 2022 at 10:24:05PM +0800, Xiang wangx wrote:
> Delete the redundant word 'we'.
>
> Signed-off-by: Xiang wangx <[email protected]>

Thanks, but we'd rather do typo fixes in bigger batches and the one you
fix does not cause confusion or is not a typo in some function name or
identifier.