Skip to content

Commit 06b206d

Browse files
chaseyuJaegeuk Kim
authored andcommitted
f2fs: remove unnecessary block size check in init_f2fs_fs()
After commit d7e9a90 ("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>
1 parent 5bf624c commit 06b206d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

fs/f2fs/super.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4931,12 +4931,6 @@ static int __init init_f2fs_fs(void)
49314931
{
49324932
int err;
49334933

4934-
if (PAGE_SIZE != F2FS_BLKSIZE) {
4935-
printk("F2FS not supported on PAGE_SIZE(%lu) != BLOCK_SIZE(%lu)\n",
4936-
PAGE_SIZE, F2FS_BLKSIZE);
4937-
return -EINVAL;
4938-
}
4939-
49404934
err = init_inodecache();
49414935
if (err)
49424936
goto fail;

0 commit comments

Comments
 (0)