diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index c4c225e09dc4..fd2499fe156b 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -5388,7 +5388,10 @@ static int f2fs_fill_super(struct super_block *sb, struct fs_context *fc) static int f2fs_get_tree(struct fs_context *fc) { - return get_tree_bdev(fc, f2fs_fill_super); + if (true) + return -ENOMEM; + else + return get_tree_bdev(fc, f2fs_fill_super); } static int f2fs_reconfigure(struct fs_context *fc)