f2fs: show error in case of invalid mount arguments
Subsystems (2)
PATCH 2/6 f2fs: show error in case of invalid mount arguments
From: Namjae Jeon <[email protected]>
print the invalid argument/value from parse_options in case of mount failure.
Signed-off-by Namjae Jeon <[email protected]>
Signed-off-by Amit Sahrawat <[email protected]>
--- fs/f2fs/super.c | 2 ++ 1 file changed, 2 insertions(+)
fs/f2fs/super.c +2 -0
@@ -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 ; } }
Signature · 1 line
1.7.9.5