diff options
author | 2012-12-01 10:55:32 +0900 | |
---|---|---|
committer | 2012-12-11 13:43:43 +0900 | |
commit | 72ce6094c0d3c1f0025eb118bb9406206f277479 (patch) | |
tree | f6e75b3224792ec26d15e57ac5cb4aa09f5630fc /fs/f2fs/super.c | |
parent | f2fs: fix the compiler warning for uninitialized use of variable (diff) | |
download | linux-72ce6094c0d3c1f0025eb118bb9406206f277479.tar.gz linux-72ce6094c0d3c1f0025eb118bb9406206f277479.tar.bz2 linux-72ce6094c0d3c1f0025eb118bb9406206f277479.zip |
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/super.c')
-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; } } |