summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/funnel-workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/funnel-workqueue.c')
-rw-r--r--drivers/md/dm-vdo/funnel-workqueue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/dm-vdo/funnel-workqueue.c b/drivers/md/dm-vdo/funnel-workqueue.c
index ebf8dce67086..a88f5c93eae5 100644
--- a/drivers/md/dm-vdo/funnel-workqueue.c
+++ b/drivers/md/dm-vdo/funnel-workqueue.c
@@ -324,7 +324,7 @@ static int make_simple_work_queue(const char *thread_name_prefix, const char *na
VDO_WORK_Q_MAX_PRIORITY);
result = vdo_allocate(1, struct simple_work_queue, "simple work queue", &queue);
- if (result != UDS_SUCCESS)
+ if (result != VDO_SUCCESS)
return result;
queue->private = private;
@@ -401,12 +401,12 @@ int vdo_make_work_queue(const char *thread_name_prefix, const char *name,
result = vdo_allocate(1, struct round_robin_work_queue, "round-robin work queue",
&queue);
- if (result != UDS_SUCCESS)
+ if (result != VDO_SUCCESS)
return result;
result = vdo_allocate(thread_count, struct simple_work_queue *,
"subordinate work queues", &queue->service_queues);
- if (result != UDS_SUCCESS) {
+ if (result != VDO_SUCCESS) {
vdo_free(queue);
return result;
}