diff options
author | Alasdair Kergon <agk@redhat.com> | 2005-10-16 23:03:59 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2005-10-16 23:03:59 +0000 |
commit | 2262b32057a7a60b3de3876b26b192fa4d05205c (patch) | |
tree | e2593b67101f9e681cf3a9a5dafedb58c23c661a /lib/metadata/pv_alloc.h | |
parent | a3f6b2ce798cf738c4e8bf510f86ebd45815842c (diff) | |
download | lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.tar.gz lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.tar.xz lvm2-2262b32057a7a60b3de3876b26b192fa4d05205c.zip |
Use hash, bitset, malloc, pool from libdevmapper.
Diffstat (limited to 'lib/metadata/pv_alloc.h')
-rw-r--r-- | lib/metadata/pv_alloc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/metadata/pv_alloc.h b/lib/metadata/pv_alloc.h index 8b4134b1..c12887b9 100644 --- a/lib/metadata/pv_alloc.h +++ b/lib/metadata/pv_alloc.h @@ -13,10 +13,9 @@ */ #ifndef _LVM_PV_ALLOC_H -#include "pool.h" -int alloc_pv_segment_whole_pv(struct pool *mem, struct physical_volume *pv); -int peg_dup(struct pool *mem, struct list *peg_new, struct list *peg_old); +int alloc_pv_segment_whole_pv(struct dm_pool *mem, struct physical_volume *pv); +int peg_dup(struct dm_pool *mem, struct list *peg_new, struct list *peg_old); struct pv_segment *assign_peg_to_lvseg(struct physical_volume *pv, uint32_t pe, uint32_t area_len, struct lv_segment *seg, |