mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
f2fs: show error in case of invalid mount arguments
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]>
This commit is contained in:
parent
be4124f872
commit
72ce6094c0
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue