projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c9d0b
)
btrfs: adjust message level for unrecognized mount option
author
David Sterba
<dsterba@suse.com>
Wed, 27 Nov 2019 15:02:05 +0000
(16:02 +0100)
committer
David Sterba
<dsterba@suse.com>
Mon, 23 Mar 2020 16:01:45 +0000
(17:01 +0100)
An unrecognized option is a failure that should get user/administrator
attention, the info level is often below what gets logged, so make it
error.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index 4969fcce07045fb4730a2d797dad8f9aae03e6eb..7932d8d07cffe16c0d313a236e1da97f28529817 100644
(file)
--- a/
fs/btrfs/super.c
+++ b/
fs/btrfs/super.c
@@
-873,7
+873,7
@@
int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
break;
#endif
case Opt_err:
- btrfs_
info
(info, "unrecognized mount option '%s'", p);
+ btrfs_
err
(info, "unrecognized mount option '%s'", p);
ret = -EINVAL;
goto out;
default: