summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-vdo/thread-utils.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-13 20:18:35 +0100
committerMike Snitzer <snitzer@kernel.org>2024-03-04 21:07:56 +0100
commit34edf9e28c917cfb16522bf4adc630efed8629c5 (patch)
treef58d9a74fc0b1dd3c686bfde1982f853e6c91091 /drivers/md/dm-vdo/thread-utils.c
parentdm vdo int-map: return VDO_SUCCESS on success (diff)
downloadlinux-34edf9e28c917cfb16522bf4adc630efed8629c5.tar.xz
linux-34edf9e28c917cfb16522bf4adc630efed8629c5.zip
dm vdo thread-utils: return VDO_SUCCESS on vdo_create_thread success
Update all callers to check for VDO_SUCCESS. Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/md/dm-vdo/thread-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/thread-utils.c b/drivers/md/dm-vdo/thread-utils.c
index b4aa71fffdbf..c822df86f731 100644
--- a/drivers/md/dm-vdo/thread-utils.c
+++ b/drivers/md/dm-vdo/thread-utils.c
@@ -119,7 +119,7 @@ int vdo_create_thread(void (*thread_function)(void *), void *thread_data,
}
*new_thread = thread;
- return UDS_SUCCESS;
+ return VDO_SUCCESS;
}
void vdo_join_threads(struct thread *thread)