summaryrefslogtreecommitdiff
path: root/lib/report
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-08-01 13:50:04 -0500
committerDavid Teigland <teigland@redhat.com>2019-08-16 13:26:11 -0500
commit677833ce6fcd7596f8dd5857bde90610cd6500c7 (patch)
tree131aab09e73d9d39f035ab603e9ad9be7f2fbc66 /lib/report
parent65bcd16be2cb46c73f6243e553b4a8685c159b7a (diff)
downloadlvm2-677833ce6fcd7596f8dd5857bde90610cd6500c7.tar.gz
lvmcache: renaming functions and variables
related to duplicates, no functional changes.
Diffstat (limited to 'lib/report')
-rw-r--r--lib/report/report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/report/report.c b/lib/report/report.c
index e1150f665..730b0af55 100644
--- a/lib/report/report.c
+++ b/lib/report/report.c
@@ -3354,7 +3354,7 @@ static int _pvduplicate_disp(struct dm_report *rh, struct dm_pool *mem,
const void *data, void *private)
{
const struct physical_volume *pv = (const struct physical_volume *) data;
- int duplicate = lvmcache_dev_is_unchosen_duplicate(pv->dev);
+ int duplicate = lvmcache_dev_is_unused_duplicate(pv->dev);
return _binary_disp(rh, mem, field, duplicate, GET_FIRST_RESERVED_NAME(pv_duplicate_y), private);
}