linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] f2fs: Fix the typos in comments
@ 2025-06-17 17:40 Swarna Prabhu
  2025-06-17 18:09 ` Luis Chamberlain
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Swarna Prabhu @ 2025-06-17 17:40 UTC (permalink / raw)
  To: jaegeuk, chao, linux-f2fs-devel, linux-kernel; +Cc: mcgrof, Swarna Prabhu

This patch fixes minor typos in comments in f2fs.

Signed-off-by: Swarna Prabhu <s.prabhu@samsung.com>
---
 fs/f2fs/f2fs.h  | 6 +++---
 fs/f2fs/node.h  | 2 +-
 fs/f2fs/super.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 9333a22b9a01..fdf69330582b 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -386,7 +386,7 @@ struct discard_cmd {
 	struct rb_node rb_node;		/* rb node located in rb-tree */
 	struct discard_info di;		/* discard info */
 	struct list_head list;		/* command list */
-	struct completion wait;		/* compleation */
+	struct completion wait;		/* completion */
 	struct block_device *bdev;	/* bdev */
 	unsigned short ref;		/* reference count */
 	unsigned char state;		/* state */
@@ -1427,7 +1427,7 @@ enum {
 
 enum {
 	MEMORY_MODE_NORMAL,	/* memory mode for normal devices */
-	MEMORY_MODE_LOW,	/* memory mode for low memry devices */
+	MEMORY_MODE_LOW,	/* memory mode for low memory devices */
 };
 
 enum errors_option {
@@ -1491,7 +1491,7 @@ enum compress_flag {
 #define COMPRESS_DATA_RESERVED_SIZE		4
 struct compress_data {
 	__le32 clen;			/* compressed data size */
-	__le32 chksum;			/* compressed data chksum */
+	__le32 chksum;			/* compressed data checksum */
 	__le32 reserved[COMPRESS_DATA_RESERVED_SIZE];	/* reserved */
 	u8 cdata[];			/* compressed data */
 };
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index 1446c433b3ec..b5218d642545 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -31,7 +31,7 @@
 /* control total # of nats */
 #define DEF_NAT_CACHE_THRESHOLD			100000
 
-/* control total # of node writes used for roll-fowrad recovery */
+/* control total # of node writes used for roll-forward recovery */
 #define DEF_RF_NODE_BLOCKS			0
 
 /* vector size for gang look-up from nat cache that consists of radix tree */
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index bbf1dad6843f..b4f2b5a85d58 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -2569,7 +2569,7 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
 			!test_opt(sbi, MERGE_CHECKPOINT)) {
 		f2fs_stop_ckpt_thread(sbi);
 	} else {
-		/* Flush if the prevous checkpoint, if exists. */
+		/* Flush if the previous checkpoint, if exists. */
 		f2fs_flush_ckpt_thread(sbi);
 
 		err = f2fs_start_ckpt_thread(sbi);
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] f2fs: Fix the typos in comments
  2025-06-17 17:40 [PATCH] f2fs: Fix the typos in comments Swarna Prabhu
@ 2025-06-17 18:09 ` Luis Chamberlain
  2025-06-24 13:59 ` Chao Yu
  2025-07-09 18:10 ` [f2fs-dev] " patchwork-bot+f2fs
  2 siblings, 0 replies; 4+ messages in thread
From: Luis Chamberlain @ 2025-06-17 18:09 UTC (permalink / raw)
  To: Swarna Prabhu
  Cc: jaegeuk, chao, linux-f2fs-devel, linux-kernel, Swarna Prabhu,
	gost.dev

On Tue, Jun 17, 2025 at 05:40:47PM +0000, Swarna Prabhu wrote:
> This patch fixes minor typos in comments in f2fs.
> 
> Signed-off-by: Swarna Prabhu <s.prabhu@samsung.com>

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] f2fs: Fix the typos in comments
  2025-06-17 17:40 [PATCH] f2fs: Fix the typos in comments Swarna Prabhu
  2025-06-17 18:09 ` Luis Chamberlain
@ 2025-06-24 13:59 ` Chao Yu
  2025-07-09 18:10 ` [f2fs-dev] " patchwork-bot+f2fs
  2 siblings, 0 replies; 4+ messages in thread
From: Chao Yu @ 2025-06-24 13:59 UTC (permalink / raw)
  To: Swarna Prabhu, jaegeuk, linux-f2fs-devel, linux-kernel
  Cc: chao, mcgrof, Swarna Prabhu

On 2025/6/18 01:40, Swarna Prabhu wrote:
> This patch fixes minor typos in comments in f2fs.
> 
> Signed-off-by: Swarna Prabhu <s.prabhu@samsung.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [f2fs-dev] [PATCH] f2fs: Fix the typos in comments
  2025-06-17 17:40 [PATCH] f2fs: Fix the typos in comments Swarna Prabhu
  2025-06-17 18:09 ` Luis Chamberlain
  2025-06-24 13:59 ` Chao Yu
@ 2025-07-09 18:10 ` patchwork-bot+f2fs
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+f2fs @ 2025-07-09 18:10 UTC (permalink / raw)
  To: Swarna Prabhu
  Cc: jaegeuk, chao, linux-f2fs-devel, linux-kernel, mcgrof, s.prabhu

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Tue, 17 Jun 2025 17:40:47 +0000 you wrote:
> This patch fixes minor typos in comments in f2fs.
> 
> Signed-off-by: Swarna Prabhu <s.prabhu@samsung.com>
> ---
>  fs/f2fs/f2fs.h  | 6 +++---
>  fs/f2fs/node.h  | 2 +-
>  fs/f2fs/super.c | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

Here is the summary with links:
  - [f2fs-dev] f2fs: Fix the typos in comments
    https://git.kernel.org/jaegeuk/f2fs/c/1f136890263c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-09 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17 17:40 [PATCH] f2fs: Fix the typos in comments Swarna Prabhu
2025-06-17 18:09 ` Luis Chamberlain
2025-06-24 13:59 ` Chao Yu
2025-07-09 18:10 ` [f2fs-dev] " patchwork-bot+f2fs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).