summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/vdo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/vdo.c')
-rw-r--r--drivers/md/dm-vdo/vdo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/vdo.c b/drivers/md/dm-vdo/vdo.c
index ae62f260c5ec..b4dd0634a5cb 100644
--- a/drivers/md/dm-vdo/vdo.c
+++ b/drivers/md/dm-vdo/vdo.c
@@ -545,7 +545,7 @@ int vdo_make(unsigned int instance, struct device_config *config, char **reason,
*reason = "Unspecified error";
result = vdo_allocate(1, struct vdo, __func__, &vdo);
- if (result != UDS_SUCCESS) {
+ if (result != VDO_SUCCESS) {
*reason = "Cannot allocate VDO";
return result;
}