All of lore.kernel.org
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH 1/2] f2fs: fix comment in sanity_check_raw_super()
@ 2024-04-16  7:21 ` Chao Yu
  0 siblings, 0 replies; 12+ messages in thread
From: Chao Yu @ 2024-04-16  7:21 UTC (permalink / raw)
  To: jaegeuk; +Cc: linux-kernel, linux-f2fs-devel

Commit d7e9a9037de2 ("f2fs: Support Block Size == Page Size") missed to
adjust comment in sanity_check_raw_super(), fix it.

Signed-off-by: Chao Yu <chao@kernel.org>
---
 fs/f2fs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 0a34c8746782..6d1e4fc629e2 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -3456,7 +3456,7 @@ static int sanity_check_raw_super(struct f2fs_sb_info *sbi,
 		}
 	}
 
-	/* Currently, support only 4KB block size */
+	/* only support block_size equals to PAGE_SIZE */
 	if (le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE_BITS) {
 		f2fs_info(sbi, "Invalid log_blocksize (%u), supports only %u",
 			  le32_to_cpu(raw_super->log_blocksize),
-- 
2.40.1



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

end of thread, other threads:[~2024-04-26 11:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-16  7:21 [f2fs-dev] [PATCH 1/2] f2fs: fix comment in sanity_check_raw_super() Chao Yu
2024-04-16  7:21 ` Chao Yu
2024-04-16  7:21 ` [f2fs-dev] [PATCH 2/2] f2fs: remove unnecessary block size check in init_f2fs_fs() Chao Yu
2024-04-16  7:21   ` Chao Yu
2024-04-16 11:12   ` [f2fs-dev] " Zhiguo Niu
2024-04-16 11:12     ` Zhiguo Niu
2024-04-26  9:37     ` Chao Yu
2024-04-26  9:37       ` Chao Yu
2024-04-26 11:25       ` Zhiguo Niu
2024-04-26 11:25         ` Zhiguo Niu
2024-04-23 17:40 ` [f2fs-dev] [PATCH 1/2] f2fs: fix comment in sanity_check_raw_super() patchwork-bot+f2fs
2024-04-23 17:40   ` patchwork-bot+f2fs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.