public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] f2fs: fix comment in sanity_check_raw_super()
@ 2024-04-16  7:21 Chao Yu
  2024-04-16  7:21 ` [PATCH 2/2] f2fs: remove unnecessary block size check in init_f2fs_fs() Chao Yu
  2024-04-23 17:40 ` [f2fs-dev] [PATCH 1/2] f2fs: fix comment in sanity_check_raw_super() patchwork-bot+f2fs
  0 siblings, 2 replies; 6+ messages in thread
From: Chao Yu @ 2024-04-16  7:21 UTC (permalink / raw)
  To: jaegeuk; +Cc: linux-f2fs-devel, linux-kernel, Chao Yu

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


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

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox