aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJulia Cartwright <julia@ni.com>2018-12-20 14:51:21 -0600
committerJulia Cartwright <julia@ni.com>2018-12-20 14:51:21 -0600
commite2261c5b1a26b02366b552e0d2c120640302fd71 (patch)
tree6f4860d4f71fa7f7a1ab41ceaa3c582c379da692 /fs/f2fs/super.c
parent2a2ccb7b686ffa5164f57eae44e92b8f8e89ebf0 (diff)
parentddd28fff50ddc10604e420ca30fe11affbc17567 (diff)
Merge tag 'v4.9.117' into v4.9-rt
This is the 4.9.117 stable release
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index eb20b8767f3c..e627671f0183 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1980,6 +1980,12 @@ static int __init init_f2fs_fs(void)
{
int err;
+ if (PAGE_SIZE != F2FS_BLKSIZE) {
+ printk("F2FS not supported on PAGE_SIZE(%lu) != %d\n",
+ PAGE_SIZE, F2FS_BLKSIZE);
+ return -EINVAL;
+ }
+
f2fs_build_trace_ios();
err = init_inodecache();