diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2022-08-24 07:25:57 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-10-18 17:16:00 -0400 |
commit | 43e6c111824c75940a586cd7d3fe6a5ff1d5104f (patch) | |
tree | 9f0baa3360340975dfe42e3d94c924f5759dc528 /drivers/md/dm-stats.c | |
parent | 141b3523e9be6f15577acf4bbc3bc1f82d81d6d1 (diff) | |
download | linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.tar.gz linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.tar.bz2 linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.zip |
dm: change from DMWARN to DMERR or DMCRIT for fatal errors
Change DMWARN to DMERR in cases when there is an unrecoverable error.
Change DMWARN to DMCRIT when handling of a case is unimplemented.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-stats.c')
-rw-r--r-- | drivers/md/dm-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c index 8326f9fe0e91..f105a71915ab 100644 --- a/drivers/md/dm-stats.c +++ b/drivers/md/dm-stats.c @@ -1220,7 +1220,7 @@ int dm_stats_message(struct mapped_device *md, unsigned argc, char **argv, return 2; /* this wasn't a stats message */ if (r == -EINVAL) - DMWARN("Invalid parameters for message %s", argv[0]); + DMCRIT("Invalid parameters for message %s", argv[0]); return r; } |