summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/encodings.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/encodings.c')
-rw-r--r--drivers/md/dm-vdo/encodings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/encodings.c b/drivers/md/dm-vdo/encodings.c
index 56d94339d2af..a97771fe0a43 100644
--- a/drivers/md/dm-vdo/encodings.c
+++ b/drivers/md/dm-vdo/encodings.c
@@ -800,7 +800,7 @@ static int allocate_partition(struct layout *layout, u8 id,
int result;
result = vdo_allocate(1, struct partition, __func__, &partition);
- if (result != UDS_SUCCESS)
+ if (result != VDO_SUCCESS)
return result;
partition->id = id;