summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-11-27 16:02:05 +0100
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:45 +0100
commit7e8f19e50e3ccf0608133cd76e845c282cd84a55 (patch)
treeee0adef7b8bfea380092ea5699c1d9e90539e82a /fs/btrfs/super.c
parentbtrfs: simplify parameters of btrfs_set_disk_extent_flags (diff)
downloadlinux-7e8f19e50e3ccf0608133cd76e845c282cd84a55.tar.xz
linux-7e8f19e50e3ccf0608133cd76e845c282cd84a55.zip
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 4969fcce0704..7932d8d07cff 100644
--- 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: