summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/indexer/geometry.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-vdo/indexer/geometry.c')
-rw-r--r--drivers/md/dm-vdo/indexer/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/indexer/geometry.c b/drivers/md/dm-vdo/indexer/geometry.c
index c735e6cb4425..c0575612e820 100644
--- a/drivers/md/dm-vdo/indexer/geometry.c
+++ b/drivers/md/dm-vdo/indexer/geometry.c
@@ -62,7 +62,7 @@ int uds_make_index_geometry(size_t bytes_per_page, u32 record_pages_per_chapter,
struct index_geometry *geometry;
result = vdo_allocate(1, struct index_geometry, "geometry", &geometry);
- if (result != UDS_SUCCESS)
+ if (result != VDO_SUCCESS)
return result;
geometry->bytes_per_page = bytes_per_page;