]> sourceware.org Git - lvm2.git/commit
lvconvert: check if LV has snapshot type
authorWu Guanghao <wuguanghao3@huawei.com>
Fri, 11 Sep 2020 09:42:16 +0000 (17:42 +0800)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 11 Sep 2020 19:48:37 +0000 (21:48 +0200)
commit7db124774a2b79105e7c9c6b42df88219fc070ca
tree8c74d674ec62c99af729fae178f914b281a6f745
parent223b75ee91cdd820d384ce281780c36a9e055b76
lvconvert: check if LV has snapshot type

Cow may not be a snapshot type, the return value of origin_from_cow(cow) may be NULL

Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com>
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
tools/lvconvert.c
This page took 0.034636 seconds and 5 git commands to generate.