diff options
author | Alasdair Kergon <agk@redhat.com> | 2005-04-19 20:52:35 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2005-04-19 20:52:35 +0000 |
commit | 41d7e56a021c421df1a696f01e0f642ea5317ec1 (patch) | |
tree | a044aa62190f0709a93050f37e86be74b128b41f /lib/metadata/pv_alloc.h | |
parent | cc394553725282dd2ad001015ebc816ef60f2158 (diff) | |
download | lvm2-41d7e56a021c421df1a696f01e0f642ea5317ec1.tar.gz lvm2-41d7e56a021c421df1a696f01e0f642ea5317ec1.tar.xz lvm2-41d7e56a021c421df1a696f01e0f642ea5317ec1.zip |
initial pv_segment defns
Diffstat (limited to 'lib/metadata/pv_alloc.h')
-rw-r--r-- | lib/metadata/pv_alloc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/metadata/pv_alloc.h b/lib/metadata/pv_alloc.h new file mode 100644 index 00000000..88b9a56f --- /dev/null +++ b/lib/metadata/pv_alloc.h @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2005 Red Hat, Inc. All rights reserved. + * + * This file is part of LVM2. + * + * This copyrighted material is made available to anyone wishing to use, + * modify, copy, or redistribute it subject to the terms and conditions + * of the GNU General Public License v.2. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#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_free_new, + struct list *peg_old); + +#endif |