mirror of https://gitee.com/openkylin/linux.git
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: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
42c9d0b524
commit
7e8f19e50e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue