summaryrefslogtreecommitdiffstats
path: root/lib/metadata/lv.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-09-09 00:54:49 +0000
committerAlasdair Kergon <agk@redhat.com>2011-09-09 00:54:49 +0000
commitdbb48de5078b00aed7f6f77453d435e8b6e45c49 (patch)
treebc34bdad1d40431e698ec6ba29cecc87af1f152c /lib/metadata/lv.h
parent4c259ae9454152e2549e886490ae8ee80ed7e1c0 (diff)
downloadlvm2-dbb48de5078b00aed7f6f77453d435e8b6e45c49.tar.gz
lvm2-dbb48de5078b00aed7f6f77453d435e8b6e45c49.tar.xz
lvm2-dbb48de5078b00aed7f6f77453d435e8b6e45c49.zip
Add a new 'thin_pool' output field to 'lvs.
A gentle reminder that anyone relying on the output of reporting commands like lvs in scripts must use -o to guarantee they get the fields they expect. The default sequence of fields can change from release to release. Equally, the 'attr' fields can have new values introduced and/or characters appended to them.
Diffstat (limited to 'lib/metadata/lv.h')
-rw-r--r--lib/metadata/lv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/metadata/lv.h b/lib/metadata/lv.h
index 49065827..a54745f1 100644
--- a/lib/metadata/lv.h
+++ b/lib/metadata/lv.h
@@ -59,6 +59,7 @@ char *lv_convert_lv_dup(struct dm_pool *mem, const struct logical_volume *lv);
int lv_kernel_major(const struct logical_volume *lv);
int lv_kernel_minor(const struct logical_volume *lv);
char *lv_mirror_log_dup(struct dm_pool *mem, const struct logical_volume *lv);
+char *lv_pool_lv_dup(struct dm_pool *mem, const struct logical_volume *lv);
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);