diff options
author | Petr Rockai <prockai@redhat.com> | 2012-02-10 01:28:27 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2012-02-10 01:28:27 +0000 |
commit | 8e5f7cf3dc1d75d0a370729326522bcac29b489d (patch) | |
tree | a8e7130afabb199942ac06ac6298b13ce4988266 /lib/format_text/import_vsn1.c | |
parent | 5fa417a9c0aa2d7ea80e1087e0d2943536fc5b9d (diff) | |
download | lvm2-8e5f7cf3dc1d75d0a370729326522bcac29b489d.tar.gz lvm2-8e5f7cf3dc1d75d0a370729326522bcac29b489d.tar.xz lvm2-8e5f7cf3dc1d75d0a370729326522bcac29b489d.zip |
Move lvmcache data structures behind an API (making the structures private to
lvmcache.c). No functional change.
Diffstat (limited to 'lib/format_text/import_vsn1.c')
-rw-r--r-- | lib/format_text/import_vsn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format_text/import_vsn1.c b/lib/format_text/import_vsn1.c index 2ad0380f..bfd8c973 100644 --- a/lib/format_text/import_vsn1.c +++ b/lib/format_text/import_vsn1.c @@ -190,7 +190,7 @@ static int _read_pv(struct format_instance *fid, /* * Convert the uuid into a device. */ - if (!(pv->dev = device_from_pvid(fid->fmt->cmd, &pv->id, scan_done_once, + if (!(pv->dev = lvmcache_device_from_pvid(fid->fmt->cmd, &pv->id, scan_done_once, &pv->label_sector))) { char buffer[64] __attribute__((aligned(8))); |