summaryrefslogtreecommitdiffstats
path: root/lib/label/label.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2004-05-04 21:25:57 +0000
committerAlasdair Kergon <agk@redhat.com>2004-05-04 21:25:57 +0000
commit4922197a3394d5482387efdf34aa89843da516c4 (patch)
tree291208c3ad46d660f99555db537336c0a5c1b961 /lib/label/label.c
parent6ec69941076b37d6528984ee2f42628cfa7b42ef (diff)
downloadlvm2-4922197a3394d5482387efdf34aa89843da516c4.tar.gz
lvm2-4922197a3394d5482387efdf34aa89843da516c4.tar.xz
lvm2-4922197a3394d5482387efdf34aa89843da516c4.zip
Begin to separate out segment types.
Diffstat (limited to 'lib/label/label.c')
-rw-r--r--lib/label/label.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/label/label.c b/lib/label/label.c
index 815d62dd..030c103e 100644
--- a/lib/label/label.c
+++ b/lib/label/label.c
@@ -19,6 +19,7 @@
#include "crc.h"
#include "xlate.h"
#include "lvmcache.h"
+#include "metadata.h"
#include <sys/stat.h>
#include <fcntl.h>
@@ -78,6 +79,8 @@ void label_exit(void)
li->l->ops->destroy(li->l);
_free_li(li);
}
+
+ list_init(&_labellers);
}
int label_register_handler(const char *name, struct labeller *handler)