btrfs: adjust message level for unrecognized mount option
authorDavid Sterba <dsterba@suse.com>
Wed, 27 Nov 2019 15:02:05 +0000 (16:02 +0100)
committerDavid 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

index 4969fcce07045fb4730a2d797dad8f9aae03e6eb..7932d8d07cffe16c0d313a236e1da97f28529817 100644 (file)
@@ -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: