summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/logger.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-09 23:53:05 +0300
committerMike Snitzer <snitzer@kernel.org>2024-03-01 17:26:24 +0300
commit6a87a8a258ed5a6ba8939e88cdca1ed42d4eeebc (patch)
tree791fcdbe5c091e0ade2fd0f1c20f6d5e138805d3 /drivers/md/dm-vdo/logger.c
parent82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9 (diff)
downloadlinux-6a87a8a258ed5a6ba8939e88cdca1ed42d4eeebc.tar.xz
dm vdo thread-device: rename all methods to reflect vdo-only use
Also moved vdo_init()'s call to vdo_initialize_thread_device_registry next to other registry initialization. Signed-off-by: Mike Snitzer <snitzer@kernel.org> 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, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/logger.c b/drivers/md/dm-vdo/logger.c
index 969f10771ada..6ba7e99ee8f9 100644
--- a/drivers/md/dm-vdo/logger.c
+++ b/drivers/md/dm-vdo/logger.c
@@ -176,7 +176,7 @@ static void emit_log_message(int priority, const char *module, const char *prefi
}
/* Not at interrupt level; we have a process we can look at, and might have a device ID. */
- device_instance = uds_get_thread_device_id();
+ device_instance = vdo_get_thread_device_id();
if (device_instance >= 0) {
emit_log_message_to_kernel(priority, "%s%u:%s: %s%pV%pV\n", module,
device_instance, current->comm, prefix, vaf1,