diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2012-12-01 10:55:32 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-11 13:43:43 +0900 |
commit | 72ce6094c0d3c1f0025eb118bb9406206f277479 (patch) | |
tree | f6e75b3224792ec26d15e57ac5cb4aa09f5630fc /fs/f2fs | |
parent | be4124f8720ef83757a66caa46f6045f0292d1f4 (diff) |
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 <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 4360600c81e8..5830e537c376 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -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; } } |