projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4124f
)
f2fs: show error in case of invalid mount arguments
author
Namjae Jeon
<namjae.jeon@samsung.com>
Sat, 1 Dec 2012 01:55:32 +0000
(10:55 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Tue, 11 Dec 2012 04:43:43 +0000
(13:43 +0900)
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>
fs/f2fs/super.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/super.c
b/fs/f2fs/super.c
index 4360600c81e891b6889ed8bb14bb3b2bdc7c42ef..5830e537c376e0138be98054bb89831be5097bfa 100644
(file)
--- 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;
}
}