summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/logger.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-15 02:25:13 +0300
committerMike Snitzer <snitzer@kernel.org>2024-02-20 21:43:19 +0300
commit318a9ce59bfaf47d23b7e80eb8c2697281108a5f (patch)
treecc09f9a9e3a0b584d4336547a0106cdb24291baf /drivers/md/dm-vdo/logger.c
parentcae3816d9933dc8041e1f3e14f10df34707f0b06 (diff)
downloadlinux-318a9ce59bfaf47d23b7e80eb8c2697281108a5f.tar.xz
dm vdo logger: switch UDS_LOG_NOTICE to be alias for UDS_LOG_INFO
Prepare to bring VDO's logging closer to DM's logging by eliminating support for KERN_NOTICE log level (DM hasn't ever had a need for it). Only one message in index-session.c used UDS_LOG_NOTICE, convert it to log with uds_log_info(). Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Bruce Johnston <bjohnsto@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/logger.c')
-rw-r--r--drivers/md/dm-vdo/logger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/dm-vdo/logger.c b/drivers/md/dm-vdo/logger.c
index fe632f10b5d9..322224a07cf5 100644
--- a/drivers/md/dm-vdo/logger.c
+++ b/drivers/md/dm-vdo/logger.c
@@ -124,8 +124,6 @@ static void emit_log_message_to_kernel(int priority, const char *fmt, ...)
printk(KERN_WARNING "%pV", &vaf);
break;
case UDS_LOG_NOTICE:
- printk(KERN_NOTICE "%pV", &vaf);
- break;
case UDS_LOG_INFO:
printk(KERN_INFO "%pV", &vaf);
break;