summaryrefslogtreecommitdiffstats
path: root/lib/format1/lvm1-label.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2003-07-04 22:34:56 +0000
committerAlasdair Kergon <agk@redhat.com>2003-07-04 22:34:56 +0000
commit914c97239fe2dcc551ce28f2b1b40af8c7797369 (patch)
treebe45472e984e6098a1a8e02fd1ad1e0f1532bb41 /lib/format1/lvm1-label.c
parent8ac97125399fb2cbcad7ae61e49f4af1a021ce25 (diff)
downloadlvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.tar.gz
lvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.tar.xz
lvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.zip
Another sync point - numerous fixes & clean ups.
Diffstat (limited to 'lib/format1/lvm1-label.c')
-rw-r--r--lib/format1/lvm1-label.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/format1/lvm1-label.c b/lib/format1/lvm1-label.c
index 9dc6a18f..10226dad 100644
--- a/lib/format1/lvm1-label.c
+++ b/lib/format1/lvm1-label.c
@@ -10,7 +10,7 @@
#include "label.h"
#include "metadata.h"
#include "xlate.h"
-#include "cache.h"
+#include "lvmcache.h"
#include <sys/stat.h>
#include <fcntl.h>
@@ -49,9 +49,9 @@ static int _read(struct labeller *l, struct device *dev, char *buf,
struct label **label)
{
struct pv_disk *pvd = (struct pv_disk *) buf;
- struct cache_info *info;
+ struct lvmcache_info *info;
- if (!(info = cache_add(l, pvd->pv_uuid, dev, pvd->vg_name, NULL)))
+ if (!(info = lvmcache_add(l, pvd->pv_uuid, dev, pvd->vg_name, NULL)))
return 0;
*label = info->label;