f2fs: show error in case of invalid mount arguments
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / f2fs / super.c
index 4360600..5830e53 100644 (file)
@@ -311,6 +311,8 @@ static int parse_options(struct f2fs_sb_info *sbi, char *options)
                        set_opt(sbi, DISABLE_EXT_IDENTIFY);
                        break;
                default:
+                       pr_err("Unrecognized mount option \"%s\" or missing value\n",
+                                       p);
                        return -EINVAL;
                }
        }