summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2024-04-16 10:21:08 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2024-04-19 20:57:35 +0300
commit06b206d9e2b4c3e142d60d21912a7b46988dea29 (patch)
tree7404634373adb716bc2b592a8ec0fa82a325e506
parent5bf624c0122960ebeeb544e2bc1a2e531ac11392 (diff)
downloadlinux-06b206d9e2b4c3e142d60d21912a7b46988dea29.tar.xz
f2fs: remove unnecessary block size check in init_f2fs_fs()
After commit d7e9a9037de2 ("f2fs: Support Block Size == Page Size"), F2FS_BLKSIZE equals to PAGE_SIZE, remove unnecessary check condition. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/super.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 5f4262f06302..ef673f853366 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -4931,12 +4931,6 @@ static int __init init_f2fs_fs(void)
{
int err;
- if (PAGE_SIZE != F2FS_BLKSIZE) {
- printk("F2FS not supported on PAGE_SIZE(%lu) != BLOCK_SIZE(%lu)\n",
- PAGE_SIZE, F2FS_BLKSIZE);
- return -EINVAL;
- }
-
err = init_inodecache();
if (err)
goto fail;