diff options
author | Petr Rockai <prockai@redhat.com> | 2010-11-17 20:08:14 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2010-11-17 20:08:14 +0000 |
commit | c1abd569f20d59d00f515f2d85aae0839828f6ad (patch) | |
tree | 35174ef5b910d05afcdce13a7b49155474f14eec /lib/metadata/lv.h | |
parent | ecc511167aeae61f5de99bed6a34614dd62a5615 (diff) | |
download | lvm2-c1abd569f20d59d00f515f2d85aae0839828f6ad.tar.gz lvm2-c1abd569f20d59d00f515f2d85aae0839828f6ad.tar.xz lvm2-c1abd569f20d59d00f515f2d85aae0839828f6ad.zip |
Add the macro and specific 'get' functions for lvsegs.
Signed-off-by: Dave Wysochanski <wysochanski@pobox.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
Diffstat (limited to 'lib/metadata/lv.h')
-rw-r--r-- | lib/metadata/lv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/metadata/lv.h b/lib/metadata/lv.h index 48d5293b..bff36d28 100644 --- a/lib/metadata/lv.h +++ b/lib/metadata/lv.h @@ -63,5 +63,10 @@ char *lv_modules_dup(struct dm_pool *mem, const struct logical_volume *lv); char *lv_name_dup(struct dm_pool *mem, const struct logical_volume *lv); char *lv_origin_dup(struct dm_pool *mem, const struct logical_volume *lv); uint32_t lv_kernel_read_ahead(const struct logical_volume *lv); +uint64_t lvseg_start(const struct lv_segment *seg); +uint64_t lvseg_size(const struct lv_segment *seg); +uint64_t lvseg_chunksize(const struct lv_segment *seg); +char *lvseg_segtype_dup(const struct lv_segment *seg); +char *lvseg_tags_dup(const struct lv_segment *seg); #endif /* _LVM_LV_H */ |