[PATCH] btrfs: send: Fix grammar in comments

Thorsten Blum posted 1 patch 1 year, 5 months ago
fs/btrfs/send.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] btrfs: send: Fix grammar in comments
Posted by Thorsten Blum 1 year, 5 months ago
s/a/an and s/then/than

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
 fs/btrfs/send.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 4ca711a773ef..02686e82eb9b 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -62,7 +62,7 @@ struct fs_path {
 		/*
 		 * Average path length does not exceed 200 bytes, we'll have
 		 * better packing in the slab and higher chance to satisfy
-		 * a allocation later during send.
+		 * an allocation later during send.
 		 */
 		char pad[256];
 	};
@@ -1136,7 +1136,7 @@ static int iterate_dir_item(struct btrfs_root *root, struct btrfs_path *path,
 	/*
 	 * Start with a small buffer (1 page). If later we end up needing more
 	 * space, which can happen for xattrs on a fs with a leaf size greater
-	 * then the page size, attempt to increase the buffer. Typically xattr
+	 * than the page size, attempt to increase the buffer. Typically xattr
 	 * values are small.
 	 */
 	buf_len = PATH_MAX;
-- 
2.46.0
Re: [PATCH] btrfs: send: Fix grammar in comments
Posted by David Sterba 1 year, 5 months ago
On Wed, Aug 14, 2024 at 10:13:29AM +0200, Thorsten Blum wrote:
> s/a/an and s/then/than
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>

Thanks, added to for-next. I'm sure there's more to fix but this needs a
tool rather than fixing everything manually.