Commit 7e8f19e5 authored by David Sterba's avatar David Sterba

btrfs: adjust message level for unrecognized mount option

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: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 42c9d0b5
...@@ -873,7 +873,7 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options, ...@@ -873,7 +873,7 @@ int btrfs_parse_options(struct btrfs_fs_info *info, char *options,
break; break;
#endif #endif
case Opt_err: case Opt_err:
btrfs_info(info, "unrecognized mount option '%s'", p); btrfs_err(info, "unrecognized mount option '%s'", p);
ret = -EINVAL; ret = -EINVAL;
goto out; goto out;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment