]> sourceware.org Git - lvm2.git/commit
Thin fix tpool layer
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 15 Nov 2011 17:15:03 +0000 (17:15 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 15 Nov 2011 17:15:03 +0000 (17:15 +0000)
commit8ec016236a84878b9b9a88424fe4015db88dc981
treeb119b270837b91c75b16d43d7dc71e0f223bb1c1
parentfb7817fe7cff9c83598c1ab01d8f0f4f6fa6d52b
Thin fix tpool layer

Since we support snapshots of thin volumes, we could have more layers,
so we have to check whether tpool layer is going to be inserted.

As the _add_segment_to_dtree() is the only place that adds tpool
segment, we may just check pointer (no strcmp for layer).

Switch to use  seg_is_  function instead of lv_is_.
lib/activate/dev_manager.c
This page took 0.03207 seconds and 5 git commands to generate.