diff options
author | Alasdair G Kergon <agk@redhat.com> | 2014-09-15 21:33:53 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2014-09-15 21:33:53 +0100 |
commit | 2360ce3551f2989f1cc2af06c3d3a0a0f1429bce (patch) | |
tree | a151ec9c456d6cbcd629ea7bae73bf43bade492f /lib/snapshot | |
parent | 10a448eb2fdc795d144f13ba4a7d83351eb8c9df (diff) | |
download | lvm2-2360ce3551f2989f1cc2af06c3d3a0a0f1429bce.tar.gz |
cleanup: Use lv_is_ macros.
Use lv_is_* macros throughout the code base, introducing
lv_is_pvmove, lv_is_locked, lv_is_converting and lv_is_merging.
lv_is_mirror_type no longer includes pvmove.
Diffstat (limited to 'lib/snapshot')
-rw-r--r-- | lib/snapshot/snapshot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c index afa1a90df..0557f4538 100644 --- a/lib/snapshot/snapshot.c +++ b/lib/snapshot/snapshot.c @@ -92,6 +92,7 @@ static int _snap_text_export(const struct lv_segment *seg, struct formatter *f) { outf(f, "chunk_size = %u", seg->chunk_size); outf(f, "origin = \"%s\"", seg->origin->name); + if (!(seg->status & MERGING)) outf(f, "cow_store = \"%s\"", seg->cow->name); else |